to make testing and stuff easier, i decided to run a copy of my website locally on my linux partition. after getting apache, mysql, and php installed and running, the site comes up and appears normal. i can change between the different sections of my site and everything, but most of the things in the sections don’t work correcty. to make an explanation easier, have a look at my real site [url]http://www.ipwnj00.net
[code=php]
function printNavBar($curpage)
{
$navbar = ”
<table align=”center” cellspacing=”15″ cellpadding=”0″>
<tr>
<td><A HREF=”index.php” target=”_self”>”;
if($curpage ==’/index.php’)
$navbar .= “<img src=”homebtn2.jpg” border=”0″></a>”;
else $navbar .= “<img src=”homebtn.jpg” border=”0″></a>”;
also, on my real site if you go to the downloads section and then press games or videos or something, the database gets queried with the correct parameters and the content of the page changes correctly. on my local version, the url in the address bar will change correctly, but absolutely nothing changes in the page itself. same thing happens in the pics and guestbook page. none of the links generated by my php actually changes anything other than the url in the address bar. it seems weird to me becasue the first page is always shown correctly, so its obviously connecting to the database correctly, but i can’t get it to change after that. i’m guessing its an incorrect setting in my httpd.conf, php.ini, or in mysql, but i can’t figure it out. any of you have any ideas what it might be? i’ve skimmed through php.ini and httpd.conf, and couldn’t find anything that could be causing the problem. i’d really appreciate any help.
thanks
*EDIT[url]http://127.0.0.1/Pics.php?width=800&height=600,*EDIT