.....

Bring Your Web Site to Life With PHP


PHP: Hypertext Preprocessor, better known as PHP, is a


highly popular, server-side scripting language that can be


embedded directly into HTML coding.


PHP can do anything that CGI can do, such as process form


data and auto generate dynamic content, but PHP can do much


more.


It can be used on all major operating systems and supports


most web servers.


PHP is used by inserting PHP code inside your web pages


HTML code. When the page is called, your server


automatically executes the code. Whats more, your visitors


dont need any special plug-ins for the code to run, as it


will be displayed just like your HTML coding.


As PHP is a server-side scripting language, although your


visitors will not need to install any new software, PHP


must be set up on your server.


Following is a very simple script that will test your server


to ensure PHP is installed. It is a standard PHP function


called phpinfo, which instructs the browser to print out


information in regard to the set up of your server.


To use the script, simply copy the following three lines of


code and paste them into a plain text editor, such as Note


Pad.


Note: To enable the code to display properly, a period has


been added following the opening bracket. Youll need to


remove this period prior to using the code.


<.?


phpinfo();


?>


Save the file as phpinfo.php and upload it to your server


where you store your HTML files.


To run the php scripts, simply point your browser to the script


address. It should look something like this:


http://www.yourdomain.com/phpinfo.php


If PHP is installed on your server, you will be presented


with a page of information about the PHP installed on your


server.


If PHP isnt installed, you will be prompted to download the


file. In this case, youll need to contact your web host and


ask them to install it, as it is free to download and


install.


You can learn more about PHP and download it at


http://www.PHP.net.


If youd like to try some PHP Programs on your site, here are


some great scripts to get you started:


Myspace Clone is a famous script which will let you run your own myspace like website.


Ther are alot more scripts available just visit the wevbiste http://www.deccanbazaar.biz/ to get your own php system for your busniess.

Comments are closed.