Php Tutorial | Learn for Master
  • Learn PHP by Examples

    In this tutorial, I will walk through the most popular examples to learn PhP. The topics includes simple php example, php get and post methods,  php arrays,  and php object.

    PhP hello word

    Here the echo keyword is used to print out the html string on your browser. 

    Get system information from PHP

    <?php phpinfo(); ?>

    Get Client’s browser information

    $_SERVER is a special reserved PHP variable that contains all web server information. It is known as a superglobal.
    A possible output might be:

    Mozilla/4.0 (compatible; MSIE 6.0;

    [Read More...]