Hash: SHA1

hmm.....the "max_file_size" won't do anything - you should remove it.
The post_max_size should be larger than the upload_max_filesize & you might 
just to check memory limit......that has to be larger than the 
You might want to look at the html form as well....should have a
hidden field like:
<input type="hidden" name="MAX_FILE_SIZE" value="a value in bytes">
Make sure that the value is high enough. 
If it still fails, get the output of phpinfo() and send it to me. Also 
include the html form and target file size...100M is a lot, I hope its just a 
temp value:)

On Monday 09 September 2002 11:22 am, Trond Arve Nordheim wrote:
> On Mon, Sep 09, 2002 at 10:29:04AM -0400, Paul Nicholson wrote:
> > Hey,
> > First of all, you can *not* set the upload size via .htaccess. You have
> > to set it in httpd.conf or php.ini. And you need to use php_value instead
> > of php_flag.
> > <Directory "/dir/">
> >    php_value upload_max_filesize 8M
> > </Directory>
> Actually, that didn't help :)
> $_POST and $_FILES is still empty, and the httpd.conf (in the
> virtualhost) reads like this;
> php_value upload_max_filesize 100M
> php_value max_file_size 100M
> php_value post_max_size 100M
> (tried to apply this both "globally" in the virtualhost and on a specified
> directory)
> ..and there's no .htaccess involved anymore.
> > btw, this was discussed on the list within this month....read the
> > archives & the manual! :)
> I've read the manual, and all about the php variables I have to change...
> just can't recall reading anything about superglobals beeing emptied out :)
> Reading the list archives as we speak ;)

- -- 
~Paul Nicholson
Design Specialist @ WebPower Design
"The web....the way you want it!"

"It said uses Windows 98 or better, so I loaded Linux!"
Registered Linux User #183202 using Register Linux System # 81891
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to