Re: [PHP] file upload script

2003-06-08 Thread Philip Olson
ES['imagefile']['name'].""; > echo "Size: ".$_FILES['imagefile']['size'].""; > echo "Type: ".$_FILES['imagefile']['type'].""; > echo "Copy Done"; >

Re: [PHP] file upload script

2003-06-08 Thread Rodney Green
7;]['type'].""; echo "Copy Done"; } else { echo ""; echo "Could Not Copy, Wrong Filetype (".$_FILES['imagefile']['name'].")"; } } ?> - Original Message - From: "Philip Olson"

Re: [PHP] file upload script

2003-06-08 Thread Rodney Green
anks again, Rod - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Rodney Green" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 1:21 AM Subject: Re: [PHP] file upload script > > By no errors, do you mean

Re: [PHP] file upload script

2003-06-07 Thread Philip Olson
By no errors, do you mean you have a PHP version greater than PHP 4.2.0 and checked the ['error'] code, and it has a value of 0? Are you sure you want the filename to be $file_name? I doubt you do. Regards, Philip ref: http://www.php.net/features.file-upload On Sat, 7 Jun 2003, Rodney Green w

[PHP] file upload script

2003-06-07 Thread Rodney Green
Hello. I'm attempting to upload a file using the script below and I'm not having any success. The temp directory I'm using does exist and is writeable. When I browse for the file then hit the send button it appears to be working then displays the form again with no errors. I look for the file on th