Solved

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

Posted on 2003-11-09
12
2,283 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
 

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

I spend far too much time on the web keeping up with the news: politics, the environment, computer stuff, the Experts Exchange. It's never-ending. But many of the most informative web pages are overwhelmed with noise: scrolling banners, flashing tex…
It's here again; Microsoft is launching a new version of Internet Explorer: Internet Explorer 9, with noticeable changes on its interface, functions and new tools. As they say on its promotional video: "It's time to play, on a more beautiful web", f…
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

820 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