enuk

Symbolic Links

PHP can be used to create Symbolic Links with the following script:


    <?php
        $target = '/var/www/public_html/folder';
        $shortcut = 'folder';
        symlink($target, $shortcut);
        echo readlink($link);
    ?>