Re: PHP Code

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

 



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.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux