1<?ph
2 // Symlink() is a function to create a symbolic link
3 $target = 'path/to/somefile.extension';
4 $link = 'File New Link Name';
5 $test = symlink($target, $link);
6 if($test) {
7 echo 'Link created Successfuly.';
8 }else {
9 echo 'link creation failed.';
10 }
11?>