Jump to content


This topic is now archived and is closed to further replies.


Upload resize script: works fine on local host but returns errors and blank images on 1and1

Recommended Posts

Works fine on local host but when i try and use it on 1and1 with large 1mb+ files it returns errors.

PS> i have:
post_max_size = 40
upload_max_filesize = 40

Warning: imagecreatefromjpeg(): '/tmp/phpfFQFmN' is not a valid JPEG file in /homepages/29/d94614695/htdocs/bostoncomwesite/dadupload.php on line 226

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /homepages/29/d94614695/htdocs/bostoncomwesite/dadupload.php on line 229

am i over welming the server?
is it a fault in my script or is my host to blame?
if so any suggestions on a new host?
will i need a private server to run this script?

[a href=\"http://pastebin.com/771064\" target=\"_blank\"]http://pastebin.com/771064[/a]

thanks in advance

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.