PDA

View Full Version : view php files offline in IE6.0/preserving browser settings...


jamescover
09-24-2004, 01:05 AM
Anyone experience this:

Everytime I load a php page into IE6.0 (PC, Win XP Home Edition), I lose my browser's settings, i.e., the address bar and links toolbar disappear.

I can load the same file or any with a .html extension, or any .html file into a new window, and the default settings are preserved. But when I load the php file into one of these windows, the settings change again.

And this only happens when viewing the files offline.

Any idea how to correct this behavior?


thanks,



-james

eak
09-24-2004, 01:55 AM
I had this same problem with .shtml files a while back.
what was happening what that they were being opened in windows explorer not internet explorer. i dont remember exactly how i fixed the problem but you may want to look at the file types tab under folder options in my computer. scroll down till you see the file type and see what program handles it by default...

since your loading php files, are you opening them directly or are you parsing them with a server first(ex: localhost/yourfile.php)?

jamescover
09-24-2004, 04:19 AM
Hi eak:


Thanks for responding.

Unfortunately, that is not the problem. My file associations indicate that IE is the opening program ("C:\Program Files\Internet Explorer\iexplore.exe" %1). And it is also the default under "Opens With."

These files are just being opened, nothing is sent to the server, they just have a .php file extension.


-james

omgwtf
09-24-2004, 07:27 AM
php is a server side language; the code needs to be parsed by a server before you can view the pages properly.. so they won't work when you're offline unless you have a webserver running locally on your computer


ps: IE sucks get another browser!

pps: windows (especially XP home) also sucks get another OS!

oracleguy
09-25-2004, 07:11 PM
php is a server side language; the code needs to be parsed by a server before you can view the pages properly.. so they won't work when you're offline unless you have a webserver running locally on your computer

Not true, if he is viewing them offline after already visiting them, he has a cahced version of the page after its been processed.

oracleguy
09-25-2004, 07:13 PM
ps: IE sucks get another browser!

pps: windows (especially XP home) also sucks get another OS!

While I may agree with the first one, neither is relevant or appropriate for this conversation.