graphics question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux