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]
- [PHP] PHP Editor Alaiddin Tayeh
- Re: [PHP] PHP Editor Chris Lee
- [PHP] PHP Editor Daniel
- Re: [PHP] PHP Editor Ryan Christensen
- RE: [PHP] PHP Editor Peter Houchin - SunRentals Australia
- RE: [PHP] PHP Editor Jerry Lake
- RE: [PHP] PHP Editor Daniel Goldin \(E-mail\)
- Re: [PHP] PHP Editor Stuart J. Browne
- Re: [PHP] PHP Editor Grishick
- Re[2]: [PHP] PHP Editor Adaran (Marc E. Brinkmann)
- Re: [PHP] PHP Editor Dave Mateer
- RE: [PHP] PHP Editor Laurie Landry
- Re: [PHP] PHP Editor tcuhost
- RE: [PHP] PHP Editor Altunergil, Oktay
- RE: [PHP] PHP Editor Ryan W. Zajicek
- RE: [PHP] PHP Editor Jithy

