????

Your IP : 3.22.68.29


Current Path : /home2/morganrand/backup.morganrand.com/
Upload File :
Current File : /home2/morganrand/backup.morganrand.com/phpupl.php

<?php require_once("adminOnly.php");?>
<img border="0" src="logo-top2.jpg" width="880" height="158">
<?php
// In PHP earlier then 4.1.0, $HTTP_POST_FILES should be used instead of
// $_FILES.  In PHP earlier then 4.0.3, use copy() and is_uploaded_file()
// instead of move_uploaded_file

//$uploaddir = '/var/www/uploads/';
$uploaddir = '/export/web21/omega/wander1/www/';
//$uploadfile = $uploaddir. $_FILES['userfile']['name'];
$upfile = 'subscribers.txt';
$uploadfile = $uploaddir. $upfile;

print "<pre>";
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
    print "File is valid, and was successfully uploaded. ";
//    print "Here's some more debugging info:\n";
//    print_r($_FILES);
} else {
    print "Possible file upload attack!  Here's some debugging info:\n";
    print_r($_FILES);
}
print "</pre>";
?>
<h2 align="center"><a href="contact-ctrl.php">OK</a></h2>