Forum Moderators: open
I have a strange problem... used to be that Internet Explorer 6 would open PHP files that I had on my local machine (which is not a server). I would usually get some kind of "pop-up" warning from IE asking me if I wanted to view the file but then after that I could view the file just fine (minus the actual scripting stuff of course).
Now, whenever I try to open one of these PHP files with IE, I get the hourglass for 2 seconds and then nothing. No IE window, no error. Nothing.
IE will open up on its own and I can browse PHP files on the Internet all day long with no problems. But the ones on my local machine no longer open, where before they would even though I am not running any kind of server technology.
IE will also open HTML and CSS files on the local machine with no problem, just not PHP. Firefox has no issues at all with any files.
I'm running XP SP2 on a very stable machine that is rarely allowed internet access and is very strongly protected with Norton AV, ZoneAlarm and AdAware. I only use IE to check the websites that I personally build so little chance of picking up something nasty on the Net.
I've even tried reloading an older Ghost file that I *knew* didn't exhibit this problem but it does it even with that which is even more peculiar.
Any ideas?
Dave Fore
It may well just be that the default file handler for .php files has changed in Windows. To restore it, right-click on the file, select "Open with...", select IE from the list and choose "Always open with this program" (I can't remember the exact wording, but it is something like that). :)
I've never installed any kind of server technology on this machine. I only use it to design work for clients and upload via FTP. I browse online with a completely different machine.
I don't understand why it was working before and now all the sudden it stopped. Firefox has no problem displaying these pages locally. Of course it doesn't parse the scripts but it at least shows the HTML elements so I can see visually how the layout looks. IE suddenly refuses.