Do you have a function by the name of imagecreatefromjpeg() in your
"resize.php" script located in "C:\Program
Files\Apache Group\Apache2\htdocs\" folder?

-----Original Message-----
From: Michael F. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 10:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Image functions


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!




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

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

Reply via email to