Jump to content

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
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.