Jump to content


Photo

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


  • Please log in to reply
No replies to this topic

#1 ifreborn

ifreborn
  • New Members
  • Pip
  • Newbie
  • 7 posts

Posted 09 June 2006 - 11:39 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users