I have an index web page that is built with 2 frames - the left hand frame is called nav and the right hand page is called pgs. The Source for the nav frame is a html file named a.html and the source for the pgs frame is a php file called attribute.php. For some reason when the index page is displayed, the nav frame is displayed fine, but the pgs frame containing the PHP file will not display and I am receiving a dialog box from the browser:
Open attribute.php
You have chosen to open attribute.php which is a PHP script
What should Firefox do with this file?
() Open with:
() Save to Disk
All that the attribute.php file has in it is:
Code: Select all
<?php
print "Hello World";
?>How do I get the php file to display in the pgs frame? or can I? Is the problem with Firefox?
Has anyone else had this problem? Also, I know frames are difficult and I should have tried something else - everyone keeps telling me that - but here I sit with my problem. If anyone can help other than suggesting not to use frames, I would appreciate it. Thanks.