.php file extentions configuration.

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

.php file extentions configuration.

Post by JellyFish »

On my computer I opened a file with the extention ".php" and choosed IE7 to open it. Every sence then when I open a php file with IE7 it has a dialog box poping up saying if I'd like to open or save the file on my computer from MY OWN COMPUTER?

I have Windows XP Media Center.

Is there a program on my computer where I can configure which programs I want to use for a specified file extention?

I didn't know where else to turn so I thought of the one and only DevNet!

Thanks for reading. I'd appreciate any help. And last but not least... Please. :D
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

It's apart of Windows.
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Post by JellyFish »

So there's no way of fixing this??? :roll:
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

try windows explorer -> tools -> folder options -> file types
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Or the geek way:

Delete the registry key:

Code: Select all

HKEY_CLASSES_ROOT\.php
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Post by JellyFish »

volka wrote:try windows explorer -> tools -> folder options -> file types
Well... I have IE7 so I couldn't find "folder options" in my tools menu because microsucks changed the UI. Would it be in internet options?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Not Internet Explorer.. Windows Explorer.. (Windows key + E)
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Post by JellyFish »

Oh. Duh. Soz.


But the thing is, when I changed it to firefox as the default program it doesn't solve the problem with IE7 not being able to open it without having a dialog box poping up saying if you'd like to save or open the file and one you make your decision and the file opens the process is repeated, it's real retarded.

I think I know what will fix it. Is there a way to give a file type no default program?

EDIT: Never mind I did it. :D

do you guys know how to get IE to read php files like it reads html files?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

It won't parse them like PHP would.
Post Reply