Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-10-2004, 11:34 PM   #1 (permalink)
 
True Techie

Join Date: Mar 2004

Posts: 151

gohand

Default how to run a php scrip?

i am wondering how can i browser the php file in the local machine,( i am very new in php programing) how can i c the results in my own machine without ftping the php file to the server that has mysql support? if my own machine isn't use as a server. is any software can help to browse the .php file i browse in the web? what about cgi, and jsp, i have dreamweaver that it looks like it supports browsing php and jsp, but i can't, any help? thanx in advence.
gohand is offline  
Old 04-17-2004, 12:22 AM   #2 (permalink)
 
Monster Techie

Join Date: Jul 2003

Posts: 1,179

Emily is on a distinguished road

Send a message via AIM to Emily
Default

PHP is a server-side language, so PHP will only execute on a server with PHP installed. You can download PHP onto your computer from www.php.net, but I find it a lot easier just to upload scripts.
__________________
<a href=\"http://www.upstark.com\">www.upstark.com</a>
Emily is offline  
Old 04-17-2004, 01:45 PM   #3 (permalink)
 
Super Techie

Join Date: Apr 2004

Posts: 316

BlazingWolf

Default

You will also need a web server installed. They best free one is Apache(http://httpd.apache.org/). I recommend that you get the 1.3.29 as it seems to be more stable, and if you have Win XP Home you HAVE to get that version the 2 version will not work on XP Home.
__________________
BlazingWolf
<font color=\'red\'>
<b>
<a href=\'http://www.gaming-forums.org\'>
Gaming-Forums.org
<a/>
</b>
</font>
BlazingWolf is offline  
Old 04-17-2004, 06:07 PM   #4 (permalink)
 
True Techie

Join Date: Mar 2004

Posts: 151

gohand

Default

Quote:
Originally posted by BlazingWolf
You will also need a web server installed. They best free one is Apache(http://httpd.apache.org/). I recommend that you get the 1.3.29 as it seems to be more stable, and if you have Win XP Home you HAVE to get that version the 2 version will not work on XP Home.
what about win2k3?
gohand is offline  
Old 04-18-2004, 10:34 PM   #5 (permalink)
 
Super Techie

Join Date: Apr 2004

Posts: 316

BlazingWolf

Default

I don't know but I recommend the 1.3 version anyway.
__________________
BlazingWolf
<font color=\'red\'>
<b>
<a href=\'http://www.gaming-forums.org\'>
Gaming-Forums.org
<a/>
</b>
</font>
BlazingWolf is offline  
Old 04-25-2004, 12:55 AM   #6 (permalink)
 
True Techie

Join Date: Mar 2004

Posts: 151

gohand

Default

well anyway the thing that i want to find out is there a software that can see results or to run a php script actually like front page or dreamweaver the way to browse html.
gohand is offline  
Old 04-25-2004, 01:16 AM   #7 (permalink)
 
Super Techie

Join Date: Apr 2004

Posts: 316

BlazingWolf

Default

1)You need to install PHP, and Apache.

2)Then you put your files in .../ApacheGroup/Apache/htdocs

3)Open an instance of IE type http://localhost

4)Select the filename and there you go.
__________________
BlazingWolf
<font color=\'red\'>
<b>
<a href=\'http://www.gaming-forums.org\'>
Gaming-Forums.org
<a/>
</b>
</font>
BlazingWolf is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On