Alternative for symlink

Is there any alternative function for symlink() to user in shared hosting servers that prevent symlink for security reasons? or at least how can i get the source code for this function?


You can do it as a exec command instead.

exec('ln -s /path/to/file /path/to/symlink');

How to symlink a file in Linux? goes into more details about doing server side symlinks.

链接地址: http://www.djcxy.com/p/78086.html

上一篇: symlinking在linux中如何工作

下一篇: 替代符号链接