php-windows | 2003032
Date: 03/26/03
- Next message: Christoph Grottolo: "[PHP-WIN] Re: ISP Blues"
- Previous message: Kasiula Uejzyl: "Re: [PHP-WIN] Read COM1"
- Next in thread: Christoph Grottolo: "[PHP-WIN] Re: ISP Blues"
- Reply: Christoph Grottolo: "[PHP-WIN] Re: ISP Blues"
- Reply: Rico Derks: "Re: [PHP-WIN] ISP Blues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Christoph Grottolo: "[PHP-WIN] Re: ISP Blues"
- Previous message: Kasiula Uejzyl: "Re: [PHP-WIN] Read COM1"
- Next in thread: Christoph Grottolo: "[PHP-WIN] Re: ISP Blues"
- Reply: Christoph Grottolo: "[PHP-WIN] Re: ISP Blues"
- Reply: Rico Derks: "Re: [PHP-WIN] ISP Blues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

