Click to See Complete Forum and Search --> : Upload problem


Anon
02-11-2001, 10:51 PM
Mine is php4 on IIS5. The upload_max_filesize
is 2M.

If i am try to upload 2bytes file it is acception.

Whenever i try to upload a file greater than 2Bytes it giving me the following warning

Max file size of 2 bytes exceeded - file [userfile] not saved in Unknown on line 0

Then how can i increase the Max file size.

Please help me

Thanks

Anon
02-12-2001, 02:59 PM
make sure your configuration option in php.ini says 2M

in your upload form, use this hidden field
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="2048000">

the value corresponds to the number of bytes. so this would be for 2 MB..

p.

Anon
05-13-2001, 08:08 AM
I can not upload file with php script, I do not know what is the reason. I have check the upload file size in the php.ini file.
Could you tell me what possible casuse factor