Hi all, just getting started into php and my first step is to add some php to a site using frames. I have php code in a file called bottom.php and when I preview this it works correctly.
If I preview the page containing the framset which calls bottom.php then the rest of the page works (as it calls html files) and windows prompts me to open or save bottom.php - instead of running it as it does previously.
Here's the frameset code -
<FRAMESET cols="*,580,*" BORDER=0 FRAMEBORDER=no FRAMESPACING=0 MARGINWIDTH="0" MARGINHEIGHT="0">
<FRAME SRC="blue.html" NAME="white" SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0">
<FRAME SRC="bottom.php" NAME="main" SCROLLING="auto" MARGINWIDTH="10" MARGINHEIGHT="0">
<FRAME SRC="blue.html" NAME="white" SCROLLING="no" MARGINWIDTH="0" MARGINHEIGHT="0">
</frameset>
I am using Apache 2.2.4 and PHP .2.3 if that's of significance.
Does anybody know the stupid mistake I'm making or an explanation for it.
Thanks.