Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 84   Yesterday: 1,303   Max: 2,773   Total: 530,417   Current Users : 17 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 
back to <FORM METHOD="...">

What is Actually Sent with Each Form Method

The requests that are sent to the web server using GET and POST are not actually much different. These two requests show the small differences between the two:

GET

GET /cgi-bin/maillist.cgi?realname=Kevin+Burris&email=kevin@idocs.com HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Referer: http://www.idocs.com/tags/foo.php
Accept-Language: en
UA-pixels: 640x480
UA-color: color8
UA-OS: Windows 95
UA-CPU: x86
User-Agent: Mozilla/2.0 (compatible; MSIE 3.0; Windows 95)
Host: 10.10.10.20
Connection: Keep-Alive

POST

POST /cgi-bin/maillist.cgi HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Referer: http://www.idocs.com/tags/foo.php
Accept-Language: en
Content-Type: application/x-www-form-urlencoded
UA-pixels: 640x480
UA-color: color8
UA-OS: Windows 95
UA-CPU: x86
User-Agent: Mozilla/2.0 (compatible; MSIE 3.0; Windows 95)
Host: 10.10.10.20
Content-Length: 44
Pragma: No-Cache
Connection: Keep-Alive

realname=Kevin+Burris&email=kevin@idocs.com

Both methods in this example use Url Encoding. The encoding type used is set with the attribute <FORM ENCTYPE="...">.

Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2009 Broadband Media, Inc. All rights reserved.