umm, what am I missing ?
I can't get the userfile to
name itself when copying...
<?php
$test = $HTTP_POST_FILES['type'];
echo $test;
echo "<br>";
echo $userfile;
copy($userfile, "c:/apache/htdocs/".$userfile);
} else {
echo "Possible file upload attack: filename '$userfile'.";
}
?>
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]