Re: http://localhost/text.php why does it download and can't be seen in IE ?
| From: | Stephen | Date: | Wed, 25 Jun 2003 16:50:26 +0000 |
| Subject: | Re: http://localhost/text.php why does it download and can't be seen in IE ? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20557@lists.php.net to get a copy of this message | ||
ildiko
If it tries to download the file, then Apache is not set to parse PHP files
properly. You need to find a section that looks similar to below. You must
make sure that the line
AddType application/x-httpd-php .php
is in that section as shown below.
Stephen
#
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
AddType application/x-tar .tgz
AddType image/x-icon .ico
AddType application/x-httpd-php .php
----- Original Message -----
From: "Ildiko Nyari" <ildiko.nyari@earthlink.net>
To: <php-windows@lists.php.net>
Sent: Wednesday, June 25, 2003 5:46 PM
Subject: [PHP-WIN] http://localhost/text.php why does it
download and can't
be seen in IE ?
Somehow still the text.php file can not be seen in the explorer. It want's
to be downloaded.
Why?
ildiko