Unable to open .PHP to view in IE (offline viewing)

G

Guest

Hello,

About a month ago something changed on my PC that now prevents me from
opening .PHP files within my browser for offline viewing (I am a web designer
and need to do this often).

Now, whenever I double-click a .PHP to view, my screen flickers and the file
does not open at all.

The only clue I can give you is that at some point when opening a .PHP file
I was asked if I wanted to SAVE or OPEN the file and I accidentally clicked
"Save" that time and it seems to have changed the default setting in Windows.
I can't remember which program asked me that or why, and I also have no clue
how to change this back to the original setting.

Can anyone help? I'm stumped. By the way I'm running Windows XP Home with
the latest service pack, and the latest IE browser.

Thanks
 
T

The Cleaning Wonder Boy

Hello,

About a month ago something changed on my PC that now prevents me from
opening .PHP files within my browser for offline viewing (I am a web designer
and need to do this often).

Now, whenever I double-click a .PHP to view, my screen flickers and the file
does not open at all.

The only clue I can give you is that at some point when opening a .PHP file
I was asked if I wanted to SAVE or OPEN the file and I accidentally clicked
"Save" that time and it seems to have changed the default setting in Windows.
I can't remember which program asked me that or why, and I also have no clue
how to change this back to the original setting.

Can anyone help? I'm stumped. By the way I'm running Windows XP Home with
the latest service pack, and the latest IE browser.

Thanks

Your file associations have been screwed up. Go into Explorer, not IE,
and select Tools->Options, File Types tab, then locate PHP File and
then click the Advanced button and set the executable to open there.

If you want it to open in IE, you MUST have IIS or Apache or whatever
webserver you are using, setup to correctly handle PHP files and use
http://localhost/phpfilename.php. The files must also be put in your
local web root.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top