Solved

IE Tries to download .php files instead of displaying them.

Posted on 2003-11-09
12
2,276 Views
Last Modified: 2006-11-17
First off, thank you for taking the time to read this.
My problem is this: Whenever I try to access a forum that I frequent, which uses php, instead of displaying the page, IE pops up the download file box, and tries to save the php file. I checked the file association for PHP files, and it's fine. I was surfing the forum earlier today, and it was working, and i know others are able to use it, because the front page to the site ( which is in HTML) has one of those most recent post, most active thread, etc... displays on it, and it changes from time to time.
Does anyone know how to fix this?
0
Comment
Question by:At_1
  • 4
  • 3
  • 2
  • +3
12 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9712000
Are you facing this issue with html and asp pages or only php


May be you may want to repair IE if it is for all pages


******************
Repair IE :
-----------

Start > Run rundll32 setupwbv.dll,IE6Maintenance "C:\Program Files\Internet Explorer\Setup\SETUP.EXE" /g

or

Start > Run rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 C:\windows\inf\ie.inf

Reinstall IE:
-------------

Description of the Internet Explorer Repair Tool
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q194/1/77.asp&NoWebContent=1

How to Reinstall or Repair Internet Explorer and Outlook Express in Windows XP
http://support.microsoft.com/?kbid=318378

Repair Internet Explorer 6
http://www.theeldergeek.com/repair_ie6.htm

http://support.microsoft.com/?kbid=293907


********************************



Sunray
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9712006
0
 

Author Comment

by:At_1
ID: 9712021
Just php files, everything else is fine. Should i still do a repair?
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9712265
Try doing it and lets see if it would work

Sunray
0
 
LVL 4

Expert Comment

by:speyfisher
ID: 9712958
Have you had this problem after you have emptied your Internet Explorer cache?  Do you have the same issues with any other site that uses PHP?

PHP is a server side scripting language and Internet Explorer will not process php code - the web server processes the php and sends your browser the HTML code that is generated.  Sounds like the problem is with the website you are accessing.
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 9716040
I'm curious if you noted this change (behavior), as I had, after migrating to .NET.

More here.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnet_movingjavaapps.asp

I'd check the Header information as well for the problem websites and advise the Webmaster for that site of the problems you've encountered, if after taking the actions to clear cache/browser and related cookies to see if problem persists.

Asta
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Expert Comment

by:seanac
ID: 9775321
It could be MIME issue. Strange that it works sometimes and not others - Although the web server sends the MIME header before any other info is sent to the client. So, your computer may have a MIME problem with php and if the server does not send the MIME header you cannot view the file in your browser, but if the server does send the MIME header you can view the file in your browser.

Check your registry for .php and change the Content-Type to text/html

Quote from http://www.helpdesk.umd.edu/topics/email/protocols/315/
MIME is best thought of as nothing more than a simple message that describes the contents that follow. In the World Wide Web, the first thing a server will do is send out a MIME header. Using the WWW as an example, the MIME header will look exactly like this: "Content-Type: text/html" The server is telling the client that what follows is a text message, comprised of the HTML language.The browser then knows to display the message in accordance with HTML. The server might have sent a MIME header of: "Content-Type: text/plain", in which case the browser would render a fixed-font display of the message or document. If the server sent a "Content-Type: image/jpeg", the browser would expect to render a JPEG (Joint Photographics Experts Group) image.

0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 10261428
Please finalize this or update us with what else is needed (since much time has passed since last update).  If one expert helped you, choose that comment to convert it to the accepted answer and flow points to close this.  If more than one expert helped you, choose the Split Points option to share the points among experts you choose.  Your feedback is integral and appreciated.  If you need special handling help, please make that request in the Community Support topic area, and include this question link.

Recommend checking with WindowsUpdate for a Critical Security Patch announced today.  Details here:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/ms04-004.asp

Thanks,
Asta
0
 
LVL 4

Expert Comment

by:speyfisher
ID: 10269976
split points :)
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 10271124
Thanks for responding, speyfisher.  I'm a participating expert, not Moderator and can't split points for you.  BUT, you can do this directly by choosing the "split points" option towards the bottom of your question.  You then decide what you wish to give to each participant you wish to award, and choose one as the "best" accepted answer, the others will be coded as assisted answers.  If you need help with this, I'll try and respond when I can.  Otherwise the Community Support topic area has our excellent Moderator team, who is there to help.  Here's that link, if the split points doesn't work for you.

http://www.experts-exchange.com/Community_Support/
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 10397857
At_1,
No comment has been added lately (14 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: PAQ/No Refund

Please leave any comments here within 4 days.

-- Please DO NOT accept this comment as an answer ! --


Thanks,
astaec
EE Cleanup Volunteer
0
 

Accepted Solution

by:
SpazMODic earned 0 total points
ID: 10426401
PAQed - no points refunded (of 125)

SpazMODic
EE Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you been browsing the internet, with multiple tabs open, and closed the wrong one? Have you ever clicked 'Close all tabs' instead of 'Close current tab' ? Internet Explorer 8 now brings to you, what Firefox has had for a wh…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now