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

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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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


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

Reinstall IE:

Description of the Internet Explorer Repair Tool

How to Reinstall or Repair Internet Explorer and Outlook Express in Windows XP

Repair Internet Explorer 6


At_1Author Commented:
Just php files, everything else is fine. Should i still do a repair?
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Try doing it and lets see if it would work

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.
Asta CuTechnical consultant & graphic designCommented:
I'm curious if you noted this change (behavior), as I had, after migrating to .NET.

More here.

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.

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

Asta CuTechnical consultant & graphic designCommented:
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:

split points :)
Asta CuTechnical consultant & graphic designCommented:
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.
Asta CuTechnical consultant & graphic designCommented:
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:


Please leave any comments here within 4 days.

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

EE Cleanup Volunteer
PAQed - no points refunded (of 125)

EE Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.