• Saturday, February 8, 2014

    Learn PHP - Introduction


    PHP is a server side scripting language, and is a powerful tool for making dynamic and interactive Web pages quickly.PHP is a widely-used and it it is free.
    Official PHP website has installation instructions for PHP
    @ http://php.net/manual/en/install.php
    Example:
    <!DOCTYPE html>
    <html>
    <body>
    <?php
    echo "My first Php Page";
    ?>
    </body>

    </html>
    ----------------------------------------------
    What is Php file?
    * php file is a text/html file with extension php ie. index.php
    * It includes html, css, javascript just like a html web page.
    * php codes start with <?php and end with ?> is executed on server side and it replace by the output.
    * php codes in a php file is not send to the browser, it replace with its output.
    * php codes can be written many times in a single php file in paragraph as well as inline.
    Why PHP?
    * PHP is an easy language to build site very easily with less effort.
    * Php support multiplatform ie. Mac OS, Linux, Windows, Android.
    * Easily connect to database for fetching and storing records.
    What can PHP do?
    * PHP can generate dynamic page content.
    * PHP can create, open, read, write, and close files on the server.
    * PHP can collect form data.
    * PHP can send and receive cookies.
    * PHP can encrypt data.
    Continue to Next Lesson...

    Syed Masoom Rizvi

    Author & Editor

    Hi, This is Syed Masoom Rizvi, who is continue exploring the world of programming ,programming and programming... :)

    0 comments:

    Post a Comment