I think I just found a bug in php.
I try to upload a file of size 37.0 K and you know
what happens.,,
The browser takes its own time..and the stupid thing
doesnot upload the file.
If I upload a file of size 2k then it uploads..
I have specified the file size in the form as :
<FORM ENCTYPE="multipart/form-data"
ACTION="upload.php" METHOD="POST">
<INPUT TYPE="hidden" name="MAX_FILE_SIZE"
value="100000">
In Php.ini file I have found 8M is the maximum size..
I am running php 4.0.3pl1 wioth Apache on Windows 98.
I also have a server on Cqhost.com
I have seen the same happen there,.too...
Is this a bug or a problem..??
Please Reply
Cheers!~
Dhaval Desai
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general...@lists.php.net
For additional commands, e-mail: php-gene...@lists.php.net
To contact the list administrators, e-mail: php-lis...@lists.php.net
but apart from that I recently upgraded to 4.04pl1 and I have the same
problem (which didn't happen before) that is described by Dhaval , running
on Linux (RHT 7.0 with plenty'o patch ... , Apache 1.3.14) ...
changing the max file size doesn't do much :-(
the uploaded file seems to have 'type multipart...' and other junk caracters
added at the beginning of the file after the copy (which returns a success
error code !!!)
it seems to be a bug in 4.04pl1
help ....
--
Thierry TABARD
Digital Sound Planet
http://www.digitalsoundplanet.com
""Chris Lee"" <l...@mediawaveonline.com> wrote in message
news:97jbpe$m17$1...@toye.p.sourceforge.net...
> try droping the max_file_size entry, does it help? I run on linux and my
file uploads work from all browsers but opera.
>
> <input type=hidden name='MAX_FILE_SIZE' value='100000'>
>
> is a silly thing php has added, the only purpose I could ever see for this
is to prevent people from uploading 3G files, but if this is the case,
should the security not be server side, vs client side? as you mentioned,
modify php.ini to change your limit. does anyone know another use for this ?
>
>
> --
>
> Chris Lee
> Mediawaveonline.com
>
> ph. 250.377.1095
> ph. 250.376.2690
> fx. 250.554.1120
>
> l...@mediawaveonline.com
>
>
> "Dhaval Desai" <dhaval...@yahoo.com> wrote in message
news:2001022811520...@web10005.mail.yahoo.com...
hope that helps.
--
Thierry TABARD
Digital Sound Planet
http://www.digitalsoundplanet.com
""TTT"" <thierry...@digitalsoundplanet.com> wrote in message
news:97jdcm$9ja$1...@toye.p.sourceforge.net...
any clues on how to fix that ?
--
Thierry TABARD
Digital Sound Planet
http://www.digitalsoundplanet.com
""TTT"" <thierry...@digitalsoundplanet.com> wrote in message
news:97jdcm$9ja$1...@toye.p.sourceforge.net...