php_gd librarys

willjwade

Registered
Ive installed GD from fink, but I really need the php_gd.so library for os x (php).. any ideas where I get it??

cheers

w
 
ok something really strange now.. and not the php engines fault. why, when I write a doc in bbedit or whatever (pico, vi) does everything look fine till after I save it and then look at it.. I get screwed chars.. e.g,

<?php
    $im = @ImageCreate(150, 100) or die ("Cannot Initialize new GD image stream");
    $bg_color   = ImageColorAllocate($im, 255, 255, 255);
...

comes out as ..
"does.php" may be a binary file. See it anyway?

<?php
<C2><A0><C2><A0><C2><A0><C2><A0>$im<C2><A0>=<C2><A0>@ImageCreate(150,<C2><A0>100
)<C2><A0>or<C2><A0>die<C2><A0>("Cannot Initialize new GD image stream");
<C2><A0><C2><A0><C2><A0><C2><A0>$bg_color<C2><A0><C2><A0><C2><A0>=<C2><A0>ImageC
olorAllocate($im,<C2><A0>255,<C2><A0>255,<C2><A0>255);
<C2><A0><C2><A0><C2><A0><C2><A0>$text_color<C2><A0>=<C2><A0>ImageColorAllocate($
im,<C2><A0>50,<C2><A0>50,<C2><A0>200);

eh?
 
Back
Top