symlink in php
<?ph
// Symlink() is a function to create a symbolic link
$target = 'path/to/somefile.extension';
$link = 'File New Link Name';
$test = symlink($target, $link);
if($test) {
echo 'Link created Successfuly.';
}else {
echo 'link creation failed.';
}
?>