graphics question

From: Date: Mon, 08 Dec 2003 16:05:20 +0000
Subject: graphics question
Groups: php.db 
Request: Send a blank email to php-db+get-31938@lists.php.net to get a copy of this message
I am working on a Fedora-installed (linux) server with PHP 4.3.3 configured with ('./configure' '--enable-pic' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-gdbm' '--with-jpeg-dir=/usr' '--with-png' '--enable-magic-quotes') plus a lot more that I stripped out for the sake of space. My problem is that when I use some sample code from a book that I am using to try to learn from (PHP and MySQL Web Development - Luke Wellington and Laura Thomson) some of the functions do not seem to work as they relate to graphics. I am using Homesite 5.0 and when a function is typed in to the editor it's appearance is different from regular text - this is not so with functions like "ImageJpeg();" or "imagecreatefromjpeg();". When I try to run either of these functions they do nothing and my error output says something like this: ( imagecreatefromjpeg(./test.jpg) [<a href='/phpmanual/function.imagecreatefromjpeg.html'>function.imagecreatefromjpeg.html</a>]: failed to open stream: No such file or directory in /var/www/html/test.php on line 11). Can someone help me figure this out? thanks, DF

« previous php.db (#31938) next »