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:
------------------------------------------------------------------------------------------------------------------------------- if (!eregi("index.php|modules.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); } include("header.php"); //include("modules/AutoTheme/Version.php"); include("modules/AutoTheme/includes/phpFuncs.php"); extract($modversion);
#$output = file_get_contents("modules/AutoTheme/docs/license.txt"); $output = file_get_contents("modules/AutoTheme/docs/index.html"); $output = nl2br($output);
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>
<b>KARTA PURKH </b>-- The Creator <br>
<b>NIRBHAU</b>-- Without Fear <br>
<b>NIRVAIR</b>-- Without Hate <br>
<b>AKAAL MOORAT </b>-- Timeless and Without form <br>
<b>AJOONI SABHANG </b>-- Beyond Birth and Death, The Enlightened One <br>
<b>GUR PARSAAD </b>-- Can be known by The Guru.s Grace<br> </p>';
*echo '<img border="0" src="bababanda.bmp" width="247" height="183"></p>';
*
OpenTable();
echo $output;
CloseTable();
include("footer.php");
?> -------------------------------------------------------------------------------------------------------------------------------
Any help would be appreciated.
Thanks in advance, -- Simran H. redhat@xxxxxxxxxxxx www.chamkila.org
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list