PHP Code
Michael Gargiullo
mgargiullo at warpdrive.net
Sun Apr 11 01:27:18 UTC 2004
On Sat, 2004-04-10 at 18:06, Simran Hansrai wrote:
> Hi Guys,
>
> I am modifying some php webpage code to include some jpg images but I am
> unable to get it to work. I am trying to do this on a redhat 8.0 box
> configured with apache and the following is the code:
>
> The text part I added works without any issues but the following lines
> in bold will not display the image files. I have checked the names and
> everything is correct:
<SNIP>
> echo '<p align="center">Check out my new mp3 <a
> href="http://www.chamkila.org/jukebox">Jukebox</a></p>';
> *echo "<p align=\"center\"> <img border=\"0\" src=\"babadeep.jpg\"
> width=\"300\" height=\"221\"></p>";
> *echo '<p align="center"><b>IK ONKAAR </b>-- There is only One God <br>
> <b>SAT NAAM </b>-- Truth is the Name <br>
<SNIP>
First... This is the wrong forum... Hit the PHP mailing lists.
Second: This look slike PHPNuke or Postnuke
When you call "babadeep.jpg" Your calling it from the root directory
Your page will be looking for
/var/www/html/babadeep.jpg
Change it to /images/babadeep.jpg ( this is the existing images
directory in both phpnuke and postnuke)
Hope this helps a little.
More information about the redhat-list
mailing list