You need to cd into the directory first, then create the link - that way the link will be relative. Unless you run the PHP script from the same directory where yo...
if(@symlink($source,$target) ===false) returnfalse;//can't create the symlink ?> *It looks for PHP on windows like the statcache is maintained on the target inste...