PHP files suddenly won't work in IE6 (XP)

S

Saffy

Today on loading my website the php files would not load in IE and it asked
me to open/save them instead.
I tried editing the php file extension properties (to default open with IE)
but it doesn't solve the problem.
I have not changed anything or downloaded any new software to do with
internet.

Any help, ideas or places where I could find an answer?
Thankyou for your time,

*Saffy*
 
G

Guest

Saffy said:
Today on loading my website the php files would not load in IE and it asked
me to open/save them instead.
I tried editing the php file extension properties (to default open with IE)
but it doesn't solve the problem.
I have not changed anything or downloaded any new software to do with
internet.

Since PHP is executed on the server, it has nothing to do with IE6 (or any
other browser for that matter). Verify that PHP is working on your server by
uploading the following 1-line script. Name the file anything you like, just
so long as it has a .php extension.

<?php phpinfo(); ?>

For example, if you save it to the root of somedomain.com as test.php, after
uploading to your server (and setting permissions to 755, if on Unix or
Linux) , enter the following in the address bar:
http://somedomain.com/test.php

It will either return several pages of info about the installed PHP
configuration, or it will return the 1-line script in plain text. If the
latter, complain to your hosting provider.
 

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