Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2003032

Re: [PHP-WIN] ISP Blues From: Rico Derks (derks <email protected>)
Date: 03/27/03

Hi,

I also have the php_gd.dll in the extensions dir of php. But I had to
change the
extension_dir =
to
extension_dir = C:/php/extensions

Cheers,
RICO.

At 22:22 26-03-2003, Anthony Ritter wrote:
>The following script works fine when I test it at home using localhost on:
>
>MS Win 98
>Apache Server
>PHP 4.1.1
>php_gd.dll
>
>I then publish the script to my web at my ISP's MS IIS server which is the
>host and get an undefined function call of:
>
>ImageCreate()
>
>The ISP has said that they have installed php_gd.dll on their server but I
>get that error.
>
>I have run php scripts on this site _without_ the gd libraries.
>
>Could somebody please advise how they should be installing the .dll file so
>I can utlize the gd_libraries with php?
>
>Many thanks,
>Tony Ritter
>..............................................................
>
>The script...
><?
>$new_w=50;
>$new_h=50;
>
>header("Content-type: image/png");
>header("Content-type: text/html");
>$dst_img=ImageCreate($new_w,$new_h);
>$src_img=ImageCreateFromPng("./square.png");
>
>ImageCopyResized($dst_img,$src_img,0,0,0,0,$new_w,$new_h,ImageSX($src_img),I
>mageSY($src_img));
>
>ImagePng($dst_img);
>
>echo "This is a square.";
>?>
>
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php