Posted by Erwin Moller on 12/18/33 11:50
jeffsnox@gmail.com wrote:
> Hi,
>
> I'm struggling to get imagecreatefromjpeg to work correctly.
>
> I'm running PHP 4.3.9 with GD bundled (2.0.28 compatible).
>
> If I run this:
>
> $myimage = imagecreatefromjpeg("myfilename");
>
> I get this error message:
>
> Fatal error: Call to undefined function: imagecreatefromjpeg() in....
>
> If I run this:
>
> $myimage = @imagecreatefromjpeg("myfilename");
>
> My program crashes out.
>
> Any ideas?
Yes, you didn't install the GD libs on your system.
My bet is not one imagefunction is working.
Start to read here if you want to know how to install the stuff:
http://nl2.php.net/manual/en/ref.image.php
Regards,
Erwin Moller
>
> Thanks,
[Back to original message]
|