User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » .php - How to Page [1]  
jsncc587
Veteran
382 Posts
user info
edit post

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

A Tanzarian
drip drip boom
10995 Posts
user info
edit post

notepad

8/6/2007 8:53:31 PM

jaZon
All American
27048 Posts
user info
edit post

^ 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

A Tanzarian
drip drip boom
10995 Posts
user info
edit post

In that case,

Opera
Firefox
Internet Explorer

8/6/2007 10:01:09 PM

agentlion
All American
13936 Posts
user info
edit post

if it is not being opened by default in your browser, something is messed up....

8/6/2007 10:02:35 PM

DonMega
Save TWW
4201 Posts
user info
edit post

something would be messed up on the server, not his machine

8/7/2007 12:06:57 AM

jbtilley
All American
12797 Posts
user info
edit post

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

Saarbruecken
New Recruit
30 Posts
user info
edit post

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

FenderFreek
All American
2805 Posts
user info
edit post

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

 Message Boards » Tech Talk » .php - How to Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.