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: PHP Image Creation problems & MacOSX



Is there something I did not do in the config file? I just get a missing icon.


On Monday, October 20, 2003, at 01:54 AM, Norman MacIntyre wrote:

Running Apache 1.3.27 with PHP 4.3.3 on Mac OS X
10.2.8...

The following worked fine:
<?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);
?>

Saved as .php


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
_______________________________________________
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: 
 >PHP Image Creation problems & MacOSX (From: Norman MacIntyre <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.