SaxoMT4


Oil Of Asia iOption

Advertise here
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Results 1 to 4 of 4
    1. #1
      iglot is offline MTV Regular
      This user has no status.
       
      I am:
      ----
       
      Join Date
      Dec 2011
      Posts
      114
      MTV$
      2

      PHP $_POST Function

      The built-in $_POST function is used to collect values in a form with method="post".

      The $_POST Function

      The built-in $_POST function is used to collect values from a form sent with method="post".

      Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.

      Note: However, there is an 8 Mb max size for the POST method, by default (can be changed by setting the post_max_size in the php.ini file).

      Example

      <form action="welcome.php" method="post">
      Name: <input type="text" name="fname" />
      Age: <input type="text" name="age" />
      <input type="submit" />
      </form>
      When the user clicks the "Submit" button, the URL will look like this:

      http://www.w3schools.com/welcome.php
      The "welcome.php" file can now use the $_POST function to collect form data (the names of the form fields will automatically be the keys in the $_POST array):

      Welcome <?php echo $_POST["fname"]; ?>!<br />
      You are <?php echo $_POST["age"]; ?> years old.

      When to use method="post"?

      Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.

      However, because the variables are not displayed in the URL, it is not possible to bookmark the page.

      The PHP $_REQUEST Function

      The PHP built-in $_REQUEST function contains the contents of both $_GET, $_POST, and $_COOKIE.

      The $_REQUEST function can be used to collect form data sent with both the GET and POST methods.

      Example

      Welcome <?php echo $_REQUEST["fname"]; ?>!<br />
      You are <?php echo $_REQUEST["age"]; ?> years old.

    2. # ADS
      Advertise here Circuit advertisement
      Join Date
      My Birthday
      Posts
      Million and counting
       
    3. #2
      benmoriz is offline Banned
      is who wander are lost!!!
       
      I am:
      Amused
       
      Join Date
      Sep 2012
      Posts
      1,704
      MTV$
      5,031

      Re: PHP $_POST Function

      However, there is an 8 Mb max size for the POST method, by default (can be changed by setting the post_max_size in the php.ini file).

      Example

      <form action="welcome.php" method="post">
      Name: <input type="text" name="fname" />
      Age: <input type="text" name="age" />
      <input type="submit" />
      </form>
      When the user clicks the "Submit" button, the URL will look like this:

    4. #3
      njtboy is offline Banned
      This user has no status.
       
      I am:
      ----
       
      Join Date
      Sep 2012
      Posts
      1,129
      MTV$
      3,336

      Re: PHP $_POST Function

      Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.

      However, because the variables are not displayed in the URL, it is not possible to bookmark the page.

      The PHP $_REQUEST Function

      The PHP built-in $_REQUEST function contains the contents of both $_GET, $_POST, and $_COOKIE.

      The $_REQUEST function can be used to collect form data sent with both the GET and POST methods.

      Example

      Welcome <?php echo $_REQUEST["fname"]; ?>!<br />
      You are <?php echo $_REQUEST["age"]; ?> years old.

    5. #4
      njtboy is offline Banned
      This user has no status.
       
      I am:
      ----
       
      Join Date
      Sep 2012
      Posts
      1,129
      MTV$
      3,336

      Re: PHP $_POST Function

      The "welcome.php" file can now use the $_POST function to collect form data (the names of the form fields will automatically be the keys in the $_POST array):

      Welcome <?php echo $_POST["fname"]; ?>!<br />
      You are <?php echo $_POST["age"]; ?> years old.

      When to use method="post"?

      Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.

      However, because the variables are not displayed in the URL, it is not possible to bookmark the page.

      The PHP $_REQUEST Function

      The PHP built-in $_REQUEST function contains the contents of both $_GET, $_POST, and $_COOKIE.

      The $_REQUEST function can be used to collect form data sent with both the GET and POST methods.

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

    Tags for this Thread

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •