PHP Knowledge

  • what is PHP

  • What is PHP class
  • Smarty PHP
  • PHP Calendar

  • PHP delete
  • PHP count

  • PHP Directory
  • php echo
  • php exec
  • PHP explode
  • PHP fopen

  • PHP Form
  • PHP get

  • PHP If
  • PHP list
  • php login
  • PHP LOOP
  • PHP Random
  • PHP Redirect
  • PHP replace
  • PHP session
  • PHP sort
  • PHP split
  • php substr
  • PHP Syntax
  • PHP time

  • PHP upload
  • php URL
  • PHP version
  • PHP Cookie
  • PHP Global
  • php LDAP
  • PHP list
  • php strip
  • PHP template
  • php PEAR
  • PHP md5
  • PHP ini
  • PHP FTP
  • More others

    Javascript
    CSS
    PHP

     

    PHP get


    PHP GET

    The $_GET variable is used to collect values from a form with method="get".

    The $_GET Variable

    The $_GET variable is an array of variable names and values sent by the HTTP GET method.

    The $_GET variable is used to collect values from a form with method="get". Information sent from a form with the GET method is visible to everyone (it will be displayed in the browser's address bar) and it has limits on the amount of information to send (max. 100 characters).

    Why use $_GET?

    Note: When using the $_GET variable all variable names and values are displayed in the URL. So this method should not be used when sending passwords or other sensitive information! However, because the variables are displayed in the URL, it is possible to bookmark the page. This can be useful in some cases.

    Note: The HTTP GET method is not suitable on large variable values; the value cannot exceed 100 characters.

    The $_REQUEST Variable

    The PHP $_REQUEST variable contains the contents of both $_GET, $_POST, and $_COOKIE.

    The PHP $_REQUEST variable can be used to get the result from form data sent with both the GET and POST methods.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

  • Javascript |