Re: [PHP] Image Uploads beeing corupted

2001-11-28 Thread Andrey Hristov
ns provided by GD. http://www.php.net/manual/en/ref.image.php Best regards, Andrey Hristov - Original Message - From: "Ryan Stephens (Hotmail)" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 10:51 AM Subject

Re: [PHP] Image Uploads beeing corupted

2001-11-28 Thread Andrey Hristov
ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 10:39 AM Subject: Re: [PHP] Image Uploads beeing corupted > the funny thing is this > > the information is beeing inserted into the database... the file is beeing > uploaded (as i can see it in the

Re: [PHP] Image Uploads beeing corupted

2001-11-28 Thread Ryan Stephens
the funny thing is this the information is beeing inserted into the database... the file is beeing uploaded (as i can see it in the directory). I can get results from $ImageFile $ImageFile_name $ImageFile_size but i cant get a result for $ImageFile_type this comes up blank there is o

Re: [PHP] Image Uploads beeing corupted

2001-11-28 Thread Andrey Hristov
The problem is in that you do global only for $ImageFile, but not for $ImageFile_name. Big flaw is that if someone make a form may be can make a big shot. Depends on under which user Apache is running. The best technique is to use $HTTP_POST_FILES. Since PHP4.1.0 there will be new name for