Results 1 to 4 of 4

Thread: What is Post and Get Method in PHP? How it has been implemented?

  1. #1
    Join Date
    Aug 2008
    Posts
    90

    What is Post and Get Method in PHP? How it has been implemented?

    There are two important method in PHP that is POST and GET method..Can anyone tell me what they are? and How they have been implemented? This method have everywhere been used in PHP and hence wanted to know more about it..

  2. #2
    Join Date
    Jan 2006
    Posts
    211

    Re: What is Post and Get Method in PHP? How it has been implemented?

    POST and GET method are basically same, both the method used to pass the value using URL only the difference is that Post value provides more security while sending parameters with the URL, In the GET method when we forward the URL, form field value send along with URL, therefore there is possibility that the password value may visible in the URL. but that same problem has been eliminated in POST method.

  3. #3
    Join Date
    Dec 2008
    Posts
    183

    Re: What is Post and Get Method in PHP? How it has been implemented?

    There are two ways the browser client can send information to the web server. POST is most secure so it have to pass some process. GET is simple way to send via URL so it is will be fast. Before the browser sends the information, it encodes it using a scheme called URL encoding. The GET method sends the encoded user information appended to the page request. Whereas if you send the form with POST method then user can not see that information and Secondly When you want to send short or small data & Less Sensitive Data then you can use GET Method.

  4. #4
    Join Date
    Dec 2008
    Posts
    128

    Re: What is Post and Get Method in PHP? How it has been implemented?

    For your more understanding i will put an example here:
    Code:
    <html>
    <head>
       <title>GET and POST Example</title>
    </head>
    <body>
    <H1>Processing forms</H1>
    GET your name: <?php echo $_GET['name']," ",$_GET['last'] ?><br>
    POST your name: <?php echo $_POST['name']," ",$_POST['last'] ?>
    <br>
    </body>
    </html>

Similar Threads

  1. Is TRIM firmware is implemented in 128 GB Samsung SSD?
    By AliaShaikh in forum Hardware Peripherals
    Replies: 3
    Last Post: 11-02-2012, 08:56 AM
  2. Replies: 1
    Last Post: 26-01-2012, 12:27 AM
  3. Replies: 6
    Last Post: 25-01-2011, 08:00 AM
  4. How many post are allowed to post on a blog in a single day
    By umaymah in forum Technology & Internet
    Replies: 3
    Last Post: 16-01-2011, 06:11 AM
  5. Method to post postdata & get the result
    By ArunJ in forum Software Development
    Replies: 2
    Last Post: 02-02-2009, 10:59 PM

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
  •  
Page generated in 1,714,158,968.53264 seconds with 17 queries