PHP tutorial - What is php and what can it does


What Is Php And What Can It Does

What is PHP?
PHP is a widely used Opensource scripting language that is especially built for web development. It can be embedded into HTML and is very easy to learn but yet very powerful.

When your browser access URLs, it's making a request to a web server. If you are requesting PHP page, apache wakes PHP up and says: "Hey.. dude! you got something to do. Get the file ready so that I can bring it back to that guy over there."

<?php
    echo "Hey...dude! execute me!";
?>

Thus, PHP engine execute the code found within the scripts, it will return to web server in HTML format. The above code will output the result below.

 Hey...dude! execute me!

Very simple isn't it! Take a closer look at the PHP code above. PHP script is opened and closed with special php tags. <?php represents the beginning and ?> is the ending of PHP code. It can also be written in Javascript and ASP style but the default style is preferred

What can PHP do?
Almost anything! Even if PHP is not a truly object oriented programming, but it can do almost anything for your web development such as sending email, collecting data, create dynamic pages and much much more to server side scripting ability.

  

Optimize Website - Webmasters optimize their site and gain higher search engine ranking

Webmaster tools - Free online webmaster toolkits, website reporting and free PHP opensource scripts.

Free Photo Hosting - Free File Hosting, Free ZIP file Hosting, Free Image Hosting, Free MP3 Hosting.

Funny Videos, Stupid Videos

Stupid Videos - Custom Pimped Motorcycle Pictures, Videos, and Articles

Planet Diaz - Programming Community - Online programming resource for programmers all around the world

Forectory - Webmaster Directory

St Louis Computer Networking

Website Templates - 1000s of Templates $5 - Many Templates to help you build your site!

 


Each and every tutorial published in PHPhelps.com is originally written by PHPHELPS OWNERS. None of the content is allowed to be replicated without prior notice to writter.
Copyright © 2006 PHPhelps.com