problem with image
Posted: Sat Oct 25, 2003 4:50 am
i'm really a newbie. i've downloaded php with the imap support , it is ok. when i'm looking at my phpinfo file, i can see :
gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
it seems that the jpg support is enabled, but i've just been writing the following code :
<?php
echo "<img src='/root/peppers_tn.jpg'> " ;
?>
this file is /usr/local/httpd/htdocs/image.php
i've really saved this peppers_tn.jpg in : /root .(just for a test ),
but when i'm trying to display this file from the browser, i'm really getting nothing no message of error, but also no image.
i'm really confused
please help me
gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
it seems that the jpg support is enabled, but i've just been writing the following code :
<?php
echo "<img src='/root/peppers_tn.jpg'> " ;
?>
this file is /usr/local/httpd/htdocs/image.php
i've really saved this peppers_tn.jpg in : /root .(just for a test ),
but when i'm trying to display this file from the browser, i'm really getting nothing no message of error, but also no image.
i'm really confused
please help me