Re: HTTP Upload Problem

From: Date: Mon, 02 Apr 2001 22:01:35 +0000
Subject: Re: HTTP Upload Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46689@lists.php.net to get a copy of this message
Just set it to 100000, and same thing.. in my php.ini file it's set to 2M upload_max_filesize = 2M still clueless, Yev --- Phillip Bow <philb@oreilly.com> wrote: > I suspect there is a limit on the MAX_FILE_SIZE. You might want to > check > the RFC, but I suspect you should set the value to be 2gb or less(I > think > that is the limit). > -- > phill > > "Yev" <omenzel@yahoo.com> wrote in message > news:20010402214659.26849.qmail@web13405.mail.yahoo.com... > > OK, here's my problem > > I wrote a simple upload script: > > > > <? > > print_r($HTTP_POST_FILES); > > ?> > > > > <FORM ENCTYPE="multipart/form-data" ACTION="" METHOD=POST> > > <INPUT TYPE="hidden" name="MAX_FILE_SIZE" > value="100000000000000000"> > > File: <INPUT TYPE=file name=filename size=30> > > <INPUT TYPE="submit" VALUE="submit"> > > </FORM> > > > > > > I purposely specified MAX_FILE_SIZE to be big since I heard it > causes > > problems if it's too small: ie files get rejected no matter what. > > > > If I input any file, the $HTTP_POST_FILES shows the proper stuff, > but > > the file doesn't exist in "/tmp" (which is set in php.ini), if I > leave > > the file field empty, then a /tmp/phpXXXXXX file is created with a > 0 > > byte size. > > > > What can be the problem? It's not permissions.. > > > > Yev > > > > __________________________________________________ > > Do You Yahoo!? > > Get email at your own domain with Yahoo! Mail. > > http://personal.mail.yahoo.com/?.refer=text > > > > -- > > 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 > > > > > -- > 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 > __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text

« previous php.general (#46689) next »