git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336910 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2015-06-09 21:00:06 +00:00
parent 67080eddef
commit c5d92fd712

View file

@ -90,7 +90,7 @@ echo "The file has been deleted!";
<?php
// removes a file from the hard drive that
// the PHP user has access to.
$username = $_SERVER['REMOTE_USER']; // using an authentication mechanisim
$username = $_SERVER['REMOTE_USER']; // using an authentication mechanism
$userfile = basename($_POST['user_submitted_filename']);
$homedir = "/home/$username";