Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
| Search | Today's Posts | Mark Forums Read
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 22nd, 2006, 06:13 AM
Registered User
 
Join Date: Mar 2006
Location: Kolkata, West Bengal, India.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page not found upon image upload

I have a form which uses HTTP File upload for images. The uploaded image is then optimized using GD2 Library.

With small images, the code works fine. When a large image is uploaded and the form submitted, it shows "Page not found Error".

The URL does not reflect the target form handler page. Hence, there are no error messages.

Even the linux system administrator does not have an explaination except that the server might be having insufficient memory.

Please update me with a working solution!
  #2 (permalink)  
Old April 20th, 2006, 02:37 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Sounds like you're hitting one of PHP's built-in limits..

Check the following configurations in php.ini, and adjust accordingly.

max_input_time
max_execution_time
memory_limit
post_max_size
upload_max_filesize

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
Upload image phuc2583 Classic ASP Basics 1 January 17th, 2008 08:48 AM
How to upload image without refreshing page in IE malay mehta Beginning PHP 3 March 6th, 2007 10:25 AM
Image upload cutesneakers PHP How-To 2 January 5th, 2005 08:00 AM
Image upload Pallav Javascript How-To 8 October 21st, 2004 12:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.