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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> >
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to