[PHP] Re: File Uploads!

2003-06-30 Thread Catalin Trifu
Hi, In case someone is interested I found the workaround. 1. IE6 does not take into consideration MAX_FILE_SIZE, so one can not rely on it on client side. 2. If the uploaded file exceeds the post_max_size, the PHP engine (4.3.1 in my case) does not give you any error in the PHP

[PHP] Re: File Uploads Security Fix

2002-05-03 Thread Manuel Lemos
Hello, Miguel Loureiro wrote: Hello, after copy do_download.php to php4.0.6/main what I have to do? T.Y. do_download.php is not the name of the download file. It should be rfc1867.c.diff-4.0.6.gz . Here is the correct URL. http://www.php.net/distributions/rfc1867.c.diff-4.0.6.gz What you

[PHP] Re: File uploads in PHP

2001-08-17 Thread James Holloway
Hi there, I haven't tested any of this, and there are probably some things that need adding, but it'll give you an idea at least. Form element: input type=file name=thefile // What files do we want? $types_we_want = array(image/gif, image/jpeg, image/pjpeg); // allows jpegs and gifs // What

[PHP] Re: File Uploads

2001-08-07 Thread Damiano Ferrari
Scott, I am a Windows/ASP guy who just recently started messing around with PHP, so maybe I am completely off path, however I found this post: