On Saturday 14 December 2002 18:26, Paul Roberts wrote: > the legend starts here > http://www.php.net/manual/sk/features.file-upload.php > > "The _URL_ should point to a PHP file. The MAX_FILE_SIZE hidden field must > precede the file input field and its value is the maximum filesize > accepted. The value is in bytes."
I know, I've rftm :) > it also notes > > "The MAX_FILE_SIZE is advisory to the browser. It is easy to circumvent > this maximum. So don't count on it that the browser obeys your wish! The > PHP-settings for maximum-size, however, cannot be fooled. " Exactly. What that says to me is that it is optional. If you include it then the browser may or may not use it. But if you don't include it then your browser would allow you to upload any size of file. However, the point is that a number of people seem to be implying that uploads only worked for them *after* they've added that MAX_FILE_SIZE thing. But there isn't any concrete evidence to show that the lack of the MAX_FILE_SIZE thing does have any effect on whether or not one can upload. If you have spare time on your hands go through the archives for problems related to file uploads, invariably someone would suggest adding MAX_FILE_SIZE. To me, I think it's a load of cobblers, unless someone can show me otherwise :) -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Preudhomme's Law of Window Cleaning: It's on the other side. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php