Firefox obstructs loading php file into iframe
Posted on 2006-03-30
I have stuffed around with this problem for too long so
I have two files,a page containing an iframe (doesnt seem to matter whether its hidden or not) and the file for the iframe
I am loading the iframe with a php file (eventually will be from another sites server but i need it to work on mine first). So far It works locally on my desktop..both files are local, same directory..no probs with Firefox or IE.
So I uploaded the files to my website and
IE works fine ...iframe loaded and alls well.
Firefox comes up with a window saying words to the effect of
You have chosen to open
which is a php file
what should firefox do with this file?
. open with then a choice of php auto file or other
. save to disk
selecting php auto it opens notepad, select other it opens a directory looking for applications. The answer to its question is..put it in the frickin iframe.
Now..if I try this with a different source of the same php file (ie from a different site). I say its the same as the HTML is the same ..whether there are hidden characters I dont know. The iframe loads but I get access denied later in my script (to be expected due to diff domains)
So if anyone can help it would be appreciated