Why can't I open .php files??? >:(

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
joetheeskimo5
Forum Commoner
Posts: 43
Joined: Sun Dec 14, 2003 4:47 pm
Location: US
Contact:

Why can't I open .php files??? >:(

Post by joetheeskimo5 »

Because I don't have enough space on my computer to install PHP, MySQL, and Apache, I decided to upload my PHP files onto my web site (with PHP and MYSQL enabled) to test them. But when I type in the URL, it pops up a "Confirm Download" message. I choose Open, and it pops back up without even doing anything. Getting annoyed, I check the "Don't ask me again" box, but then it just pops up, then closes, then pops up, then closes, over and over until I have to hit the power switch and crash my comp to escape!

Wy can't I open PHP files on my host? It has PHP and MySQL, and I have the settings on my computer set so that PHP files open with Internet Expolorer. What's going on?

Joe
User avatar
William
Forum Contributor
Posts: 332
Joined: Sat Oct 25, 2003 4:03 am
Location: New York City

Post by William »

Ok, You can NOT open php files and view them on yuor pc with out having it an actual server on your pc lol, sorry... And try to ask PHP questions in php part
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

joe, do you mean you are clicking on a link and it's popping up a "Save As.." dialog? Go to your File Types section and remove PHP from the list and see if that helps.. assuming that's what's happening.

otherwise, you can only view the results of your php script, not the source as viper said..
Post Reply