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

  • Thread starter Thread starter Saffy
  • Start date Start date
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*
 
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.
 
Back
Top