Results 1 to 8 of 8
Thread: everytime i click a php link..
-
09-14-2002, 11:13 AM #1New Member
- Join Date
- Sep 2002
- Location
- Michigan
- Posts
- 1
everytime i click a php link..
everytime i click a php link it wants to download the source, and not open it in IE, how do i fix this..?
-
09-14-2002, 11:35 AM #2Web Hosting Master
- Join Date
- Jun 2001
- Location
- Earth
- Posts
- 1,259
Sounds like the server is not configured for PHP. Since it's not, your browser does not know what to do with the .php file.
Frank█ Umbra Hosting
█ cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
█ Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
█ UmbraHosting.com
-
09-14-2002, 11:53 AM #3Newbie
- Join Date
- Sep 2002
- Posts
- 14
Yep as ffeingol said.. ur server is not configured to understand PHP files so it ask you to download them.. like when u try to run a file where the program which runs it is not there
-
09-14-2002, 02:33 PM #4Junior Guru
- Join Date
- Aug 2002
- Location
- Istanbul / Turkey
- Posts
- 214
Normal HTML files contains 2 parts, 1 is Header and 2 is the part you can see in your browser. And Normally PHP files only a standard text files. If your server does not compile your PHP files and does not produce Header your browser gets it as a text file and tries to download.
Check the PHP conditions of your server. Don't forget PHP is server side language, that means every problem would be on your server.
-
09-14-2002, 02:37 PM #5Junior Guru
- Join Date
- Jun 2002
- Posts
- 196
either the servers mime.types file is confilicting, or dosent know what php is or the more likely scenario they didnt add the .php filetype to httpd.conf
-
09-14-2002, 04:21 PM #6Junior Guru Wannabe
- Join Date
- Dec 2001
- Location
- New Hampshire
- Posts
- 93
.htaccess:
DefaultType application/x-httpd-php
(or)
AddType application/x-httpd-php .phpWYSIWYG
-
09-15-2002, 05:44 AM #7Junior Guru Wannabe
- Join Date
- Oct 2000
- Location
- Denmark
- Posts
- 97
I have experienced this after upgrading to Internet Explorer 6.0. A few PHP links started to do this but 99 % of the PHP coding works fine.
-
09-15-2002, 06:31 AM #8Junior Guru
- Join Date
- Aug 2002
- Location
- Istanbul / Turkey
- Posts
- 214
Originally posted by Tox
I have experienced this after upgrading to Internet Explorer 6.0. A few PHP links started to do this but 99 % of the PHP coding works fine.