Ok I have gotten some basic db calls working in PHP. Yay!!
But now the thing that is throwing me off.
I bring up the main page. From there I click the link that takes me to my php page. It runs, hell it runs great. Then I navigate to another portion of the site. Then when I try to go back (not using the back button) to the php page I get a "Document requested not found error". At first I thought this was a cache-ing problem but I added the:
<?
Header('Cache-Control: no-cache');
Header('Pragma: no-cache');
?>
to stop the page from cache-ing on load but still no dice.
Same thing happens when I am on the php page and hit refresh. Some advice please.
Thanks
Possible Cache-ing problem?
Moderator: General Moderators
Ok a bit long-winded but, here goes.
From the main page of my site (it is .shtml) I click the link to my php page. Initially it works fine. Then from the php page I click a link to another .shtml and then from that .shtml page I navigate back to the first .shtml page. Then i click the link to the same php page that had worked the first time (2 minutes before) I get an IIS error:
http 404 page not found. The frustrating thing is that it worked just 3 clicks before!! Please help!
i.e:
1: page1.shtml <works fine>
2: test.php <works fine>
3: page2.shtml <works fine>
4: page1.shtml <back to the first page>
5: test.php <back to the same php page, but 404 error!>
Thanks
From the main page of my site (it is .shtml) I click the link to my php page. Initially it works fine. Then from the php page I click a link to another .shtml and then from that .shtml page I navigate back to the first .shtml page. Then i click the link to the same php page that had worked the first time (2 minutes before) I get an IIS error:
http 404 page not found. The frustrating thing is that it worked just 3 clicks before!! Please help!
i.e:
1: page1.shtml <works fine>
2: test.php <works fine>
3: page2.shtml <works fine>
4: page1.shtml <back to the first page>
5: test.php <back to the same php page, but 404 error!>
Thanks