RE: [PHP] File upload problem

From: Date: Wed, 08 May 2002 10:01:34 +0000
Subject: RE: [PHP] File upload problem
Groups: php.general 
Request: Send a blank email to php-general+get-96556@lists.php.net to get a copy of this message
> -----Original Message----- > From: Linn Kubler [mailto:lkubler@ecw.org] > Sent: 07 May 2002 23:15 > > Yeah, that was it, thanks everyone who contributed. Restarting the > webserver did the trick. So in conclusion, in the end I changed the > post_max_size and the upload_max_filesize. Just a quick additional note: post_max_size actually needs to be slightly higher than upload_max_filesize, as it must allow for HTTP headers in addition to the actual file itself (plus, of course, the size of any other POST fields in the same form!). The difference probably only needs to be a few hundred bytes, but with upload_max_filesize=200M I'd probably take the easy way out and use post_max_size=201M!!! Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#96556) next »