⌊ K™¦krizzna.web.id ⌉

Sekedar coretan seorang nyubi

Bring Your Web Site to Life With Php

Posted on

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 page’s HTML code. When the page is called, your server automatically executes the code. What’s more, your visitors don’t 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. You’ll 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 script, 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 isn’t installed, you will be prompted to download the file. In this case, you’ll 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.

Head SEO, Marketing at AIT India

Share and Enjoy:
  • printfriendly Bring Your Web Site to Life With Php
  • digg Bring Your Web Site to Life With Php
  • delicious Bring Your Web Site to Life With Php
  • facebook Bring Your Web Site to Life With Php
  • yahoobuzz Bring Your Web Site to Life With Php
  • twitter Bring Your Web Site to Life With Php
  • googlebookmark Bring Your Web Site to Life With Php
  • email link Bring Your Web Site to Life With Php
  • linkedin Bring Your Web Site to Life With Php
  • live Bring Your Web Site to Life With Php
  • myspace Bring Your Web Site to Life With Php
  • pdf Bring Your Web Site to Life With Php
  • plurk Bring Your Web Site to Life With Php
  • slashdot Bring Your Web Site to Life With Php
  • technorati Bring Your Web Site to Life With Php
  • tumblr Bring Your Web Site to Life With Php
  • hackernews Bring Your Web Site to Life With Php

Tags: , ,