hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : everytime i click a php link..
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

everytime i click a php link..

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-14-2002, 11:13 AM
chungsunghoy chungsunghoy is offline
New Member
 
Join Date: Sep 2002
Location: Michigan
Posts: 1
Question

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..?

Reply With Quote


Sponsored Links
  #2  
Old 09-14-2002, 11:35 AM
ffeingol ffeingol is offline
Community Guide
 
Join Date: Jun 2001
Location: Earth
Posts: 1,246
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

Reply With Quote
  #3  
Old 09-14-2002, 11:53 AM
rami90_999 rami90_999 is offline
Newbie
 
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

Reply With Quote
Sponsored Links
  #4  
Old 09-14-2002, 02:33 PM
ghost ghost is offline
Junior 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.

Reply With Quote
  #5  
Old 09-14-2002, 02:37 PM
ninji ninji is offline
Junior 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

Reply With Quote
  #6  
Old 09-14-2002, 04:21 PM
prosayist prosayist is offline
Junior Guru Wannabe
 
Join Date: Dec 2001
Location: New Hampshire
Posts: 93
.htaccess:
DefaultType application/x-httpd-php
(or)
AddType application/x-httpd-php .php

__________________
WYSIWYG

Reply With Quote
  #7  
Old 09-15-2002, 05:44 AM
Tox Tox is offline
Junior 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.

Reply With Quote
  #8  
Old 09-15-2002, 06:31 AM
ghost ghost is offline
Junior Guru
 
Join Date: Aug 2002
Location: Istanbul / Turkey
Posts: 214
Quote:
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.
I have been using IE 6 too. But I have been never experienced any problem like this. Would you tell me an URL you are living that problem?

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
StopTheHacker Releases Version 3.3 of Security Tool with Redesigned Dashboard Web Hosting News 2012-06-25 10:49:09
Web Host Webhostforasp.net Launches New Affiliate Program Web Hosting News 2012-01-16 14:31:12
Attracta Offers Single-Click Web App Installation to Customers Web Hosting News 2011-08-11 16:57:09
NTT America Launches Global Virtual Link Web Hosting News 2011-07-27 20:34:43
Web Host CoreLink Data Centers Adds New Managed Network Services Web Hosting News 2011-06-21 16:03:56


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?