Mark Collin wrote:

I'm having problems with my file upload code. If I start to upload files larger than a approx 400k the page seems to time out and I get a page cannot be displayed error.
I have checked the php.ini on the server and max file size is 2Mb and max Post size is 8Mb.




This is typical of the default setting for LimitRequestBody directive of apache - which is set to 512kb please look at your httpd.conf file and see if this is set - just deleting that line would do. If it still does not work you might find this link usefull http://www.radinks.com/upload/config.php - it shows how to configure php for handling large uploads.




-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 128 KB | with progress bar.

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



Reply via email to