Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] PHP Image Creation problems & MacOSX



Mine didn't work either.

On Monday, October 20, 2003, at 12:06  AM, Garry Claridge wrote:

I just tried the script on my OS X 2.8 PowerBook and it worked fine!

All the best.

Garry

On Monday, October 20, 2003, at 08:29  AM, Eric Gorr wrote:

At 5:59 PM -0400 10/19/03, Walter Lee Davis wrote:
You can create a JPEG or a PNG, but not a GIF.

Well, when I try this:


<?php header ("Content-type: image/jpeg"); $im = imagecreate (50, 100); $background_color = imagecolorallocate ($im, 255, 255, 255); $text_color = imagecolorallocate ($im, 233, 14, 91); imagestring ($im, 1, 5, 5, "A Simple Text String", $text_color); imagejpeg ($im ); imagedestroy ($im); ?>

I get the error:

The image "imagetest.php" cannot be displayed, because it contains errors.

Any ideas?


Again, doing the same thing with my primary web host works.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: [Q] PHP Image Creation problems & MacOSX (From: Garry Claridge <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.