Solved

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

Posted on 2003-11-09
12
2,273 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
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…

760 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

21 Experts available now in Live!

Get 1:1 Help Now