Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2304
  • Last Modified:

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?
0
At_1
Asked:
At_1
  • 4
  • 3
  • 2
  • +3
1 Solution
 
sunray_2003Commented:
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
 
At_1Author Commented:
Just php files, everything else is fine. Should i still do a repair?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
sunray_2003Commented:
Try doing it and lets see if it would work

Sunray
0
 
speyfisherCommented:
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
 
Asta CuCommented:
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
 
seanacCommented:
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
 
Asta CuCommented:
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
 
speyfisherCommented:
split points :)
0
 
Asta CuCommented:
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
 
Asta CuCommented:
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
 
SpazMODicCommented:
PAQed - no points refunded (of 125)

SpazMODic
EE Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 3
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now