Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-21-2004, 06:58 PM
WebProWorld New Member
 

Join Date: Jan 2004
Location: London, UK
Posts: 6
szirtest RepRank 0
Default Strange PHP GD lib / Mac problem

Anyone come across this problem...

I have a form which posts the user specified jpeg file to a PHP script that creates a thumnail from it using the GD library.

This works absolutely fine on my PC with iExplore, but on a Mac (AOL browser - presumably Netscape) the exact same jpeg image causes the PHP script to fail with the following error:

Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable
error: in /home/www/clariaup/tools/validatepicture.php on line 11

Warning: imagecreatefromjpeg(): '/home/www/clariaup/dynamic/cut_corner.jpg'
is not a valid JPEG file in /home/www/clariaup/tools/validatepicture.php on
line 11
Problem In opening Source Image

Could this be something to do with the way Macs or Netscape post the multiform data??? I'm using
enctype="multipart/form-data" in the form.

Any help greatly appreciated.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0