PHP Standard Library

Only one function now, hoping to add more later.

Functions:
  • Get http parameters

stdlib.lib.php:
<?php
function http_request( $name ) {
   if ( isset( $_REQUEST[ $name ] ) ) {
      return mysql_real_escape_string( $_REQUEST[ $name ] );
   }
   return '';
}
?>

No comments:

Post a Comment