Re: found a bug with File Uploads..
| From: | Chris Lee | Date: | Wed, 28 Feb 2001 15:29:03 +0000 |
| Subject: | Re: found a bug with File Uploads.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42035@lists.php.net to get a copy of this message | ||
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
lee@mediawaveonline.com
"Dhaval Desai" <dhaval_adams@yahoo.com> wrote in message news:20010228115206.76791.qmail@web10005.mail.yahoo.com...
Hi!
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-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net