I was told that the code below would create symlinks in php.
I 'reconfigured' it to work to my needs, but it doesnt.
the paths i am trying to link are below:
the script is in the /home/mem/main/ directory by the way
Code:
$path = "/home/user/orig_file";
$path_new = "/home/user/link_file";
symlink($path_new, $path);
I 'reconfigured' it to work to my needs, but it doesnt.
the paths i am trying to link are below:
Code:
$path = "/home/some/dep/";
$path_new = "/home/mem/main/users/{$username}/";
symlink($path_new, $path);
the script is in the /home/mem/main/ directory by the way