Just download a .php file. Windows would like to know which program I would like to use to open said file. What is my answer?
8/6/2007 8:51:33 PM
notepad
8/6/2007 8:53:31 PM
^ of course, if you didn't know that, it's definitely not going to be what you want[Edited on August 6, 2007 at 9:04 PM. Reason : ]
8/6/2007 9:03:59 PM
In that case,OperaFirefoxInternet Explorer
8/6/2007 10:01:09 PM
if it is not being opened by default in your browser, something is messed up....
8/6/2007 10:02:35 PM
something would be messed up on the server, not his machine
8/7/2007 12:06:57 AM
There are some details missing. What is it you are trying to do?1) Visit a website that has a .php extension? If php isn't installed correctly on their server you'll just end up seeing the source code.2) Download a sample .php file and view the code on your computer? Notepad as mentioned before.3) Download a sample .php file and view the webpage on your personal server? Again, if php isn't installed correctly you'd see the source when you tried to navigate to the page on your local host.My guess is that this thread was about #2.[Edited on August 7, 2007 at 8:45 AM. Reason : -]
8/7/2007 8:39:00 AM
The way to "view" a .php file is through a browser. The location the file is at needs to have php installed (ie the webserver) and since you downloaded the file it is being accessed from your hard drive and most likely (seeing as how you don't know how to view it) you don't have php installed on your local machine.If you want to just view the source, notepad or ultraedit are the way to go.If you want to install php on your local machine: http://www.php-mysql-tutorial.com/install-apache-php-mysql.php[Edited on August 7, 2007 at 10:10 AM. Reason : .]
8/7/2007 10:08:23 AM
XAMPP for Windows is a nice all-in-one Windows lampp setup. I use it for dev work at home. This is nice if you actually want to run the PHP code.http://www.apachefriends.org/en/xampp-windows.html]
8/7/2007 2:33:27 PM