[thelist]

Richard Davey rich at launchcode.co.uk
Tue Apr 6 19:11:04 CDT 2004


Hello Monique,

Wednesday, April 7, 2004, 12:56:36 AM, you wrote:

MA> The input file doesn't restrict a file size, php seems to be doing that all on its own....
MA> PHP is set to give a value of 15 megs as the limit.

I mean like this:

<input type="hidden" name="MAX_FILE_SIZE" value="30000">

>From the PHP Manual - "The MAX_FILE_SIZE hidden field (measured in
bytes) must precede the file input field, and its value is the maximum
filesize accepted. Also, be sure your file upload form has
enctype="multipart/form-data" otherwise the file upload will not
work."

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html




More information about the thelist mailing list