·  PHP – Web Forms – Summery

 

- Info:

  - This tutorial contains summery of HTTP related functionality.

 

- Example:

  - Create PHP Console Application Test.php.

 

    Test.html

    <?php

    

      $name = $_REQUEST['name'];     //Get HTTP Request parameter name.

      $name; //register_globals=On  //Automaticly load HTTP Request parameter name into variable $name

      $name = htmlentities($_POST['name']); //Converts malicious characters.

      $scriptName = $_SERVER['PHP_SELF'];   //Get executing script name.

     

    ?>