I am trying to create a hard-link with PHP. I know there are three kinds of links: Symlinks, hard-links, and directory junctions (hard-links for directories).
In PHP a symlink is the symlink() function, a hard-link is link(), but what for a directory junction?
I need to use it for a web application, and a symlink is not enough for me.
Thanks
Directory junctions are an NTFS-specific feature. There are no directory junctions in Linux. There are directory-binding mounts (look for “The bind mounts”), which provide similar functionality, however they require root access.