![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2005
Posts: 13
Rep Power: 0
![]() |
problem
i saved a file on a note pad...
<html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> </body> </html> and then tried opening the file and "Print master" came up, its something my mom installed for like addresses and stuff.. i dont know why it came up though, i saved the file with a .php extension under all files, then opended it in my browser with all files selected, why did print master come up? |
|
|
|
|
|
#2 |
|
Programming Guru
![]() |
no idea but first do you have a web server running on the computer you are trying to run the file on?
|
|
|
|
|
|
#3 |
|
PFO Founder
![]() ![]() |
yeah the problem must be you dont have a web server running on your computer. thats all i can think of.
if you need a webserver for windows use this it comes with apache for windows and php and mysql all in one easy to install .exe ![]() http://apache2triad.net/
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
Well, if u have Windows 2000 or XP try configuring IIS. You might have IIS installed by default.
You can start the server by the following steps Right Click on My Computer, you wud see a menu.... Left click on Manage -> Services And Applications -> Internet Information Services Then Left Click on Default Web Site and u wud see a button similar to "play" on winamp. Click on that ...That will start the server. Then put the following address in your browser. http://127.0.0.1/<filename.php> It shud run.... In case you are practising PHP for learning purpose and not able to configure IIS then you can do the following in Windows 2K or XP. You have to go to the cmd prompt. Type "php filename.php > filenameforview.html" at the command prompt. Be sure to add them to the existing path in your Environment variables.
__________________
Visit: http://www.somaiya.edu |
|
|
|
|
|
#5 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Please, for the love of God, don't use IIS.
|
|
|
|
|
|
#6 |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
But what is the "print master" all abt in this ????
__________________
Visit: http://www.somaiya.edu |
|
|
|
|
|
#7 |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
Why not use IIS??
Difficult to configure or bugs??
__________________
Visit: http://www.somaiya.edu |
|
|
|
|
|
#8 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
1. It's buggy.
2. It's slightly slower than Apache. 3. I just don't like it. ![]() |
|
|
|
|
|
#9 | |
|
Newbie
Join Date: Apr 2005
Posts: 13
Rep Power: 0
![]() |
Quote:
thanks guys. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|