?php / / Available since PHP 4.1.0 print $_POST[ 'username']; print $_REQUEST['username']; import_request_variables('p', 'p_'); print $p_username; / / Available since PHP 3. print $HTTP_POST_VARS['username']; / / Available if the PHP directive register_globals = on.
Si cette directive est active, une valeur telle que It's "PHP! "sera automagiquement transformée en It\'s \"PHP!\".