Image functions
| From: | Michael F. | Date: | Thu, 19 Sep 2002 16:58:09 +0000 |
| Subject: | Image functions | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8529@lists.php.net to get a copy of this message | ||
Hello,
I have the following code:
$return_val = ( ($img = ImageCreateFromJPEG ( $image_file_path )) &&
$return_val == 1 ) ? "1" : "0";
but I become the following error message:
Fatal error: Call to undefined function: imagecreatefromjpeg() in C:\Program
Files\Apache Group\Apache2\htdocs\resize.php on line 31
I use WindowsXp, Apache 2.0.40 and php 4.2.2. How I have to
install/configure my system to correct this problem?
Thanks!