Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

500 error

Status
Not open for further replies.

MattNeeley

IS-IT--Management
Mar 7, 2004
94
US
Using the GD library to open images and combine two into a calendar like picture I've run into a snag. I believe it happens because the image is too large and is erroring the script. I tried using if (!$img) to get around it but no luck. Does anyone know a better way of error checking for out of bounds memory requests?
 
There are setting in the php.ini file which limit the amount of resources that a script may use. Look at memory_get_usage or memory_limit

Bastien

I wish my computer would do what I want it to do,
instead of what I tell it to do...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top