manju (3/16/2009)
When someone visits your PHP webpage, your web server processes the PHP code. It then sees which parts it needs to show to visitors(content and pictures) and hides the other stuff(file operations, math calculations, etc.) then translates your PHP into HTML. After the translation into HTML, it sends the webpage to your visitor's web browser.PHP "Hypertext Preprocessor" is a very power full web programing language.
and you don't even need another server to run it unless you want it to
.
I host my sites in PHP on my PC using Vertrigo Server.
The link below gives you the basic and advance tutorial for PHP and any other programing languages out there mainly web programing.
http://www.w3schools.com/PHP/DEfaULT.asPAll you have to do is install vertrigo and you can run php scripts right on your pc by typing in http://localhost/
http://vertrigo.sourceforge.net/After you install it there will be a icon down on your system tray that will look like a box with a cross
There will be 3 different cross color's
Green: Good to go everything works like it should be
Red: MySQL is not running or something else is using the MySQL port
Yellow: HTML is not running or something else is using the HTML port normally port 80
When you see the box with the cross right click it to bring up the menu. Then click on "WWW" this will open up the WWW folder on your desktop where the PHP or HTML pages are stored. You use this folder you upload/copy your site files to and then you go to http://locahost/filename(.php'.htm'.html)
I hope this helps you out.
also ignore the "(.php'.htm'.html)" this just shows you what file extension to use. like if you put index.htm into your WWW folder then you need to type in http://localhost/index.htm
Please note that if you use the .htm extension fire fox will note load it as the main index file unless you change it to .html
If you need anymore info about this or need help setting it up then please email me at talekim@phantomworksstudios.com or just send me a PM at a1vbcode.com
Good luck