note 28199 deleted from tutorial.forms by nlopess

From: Date: Mon, 15 Dec 2003 19:01:19 +0000
Subject: note 28199 deleted from tutorial.forms by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-62002@lists.php.net to get a copy of this message
Note Submitter: JohnD717@hotmail.com ---- GET and POST methods: The Get and Post methods in a form is the way the information is passed to the processing script. In php these are simply put into $_GET['<name>'] or $_POST['<name>'] however in other languages, like perl/cgi, it is handled differently. if you are writing a genaric form for any processor, i recommend post. It is not only easier in languages that handle them differently, but in PHP, POST is the assumed method by more script writers. Also, in PHP, $_GET is used for the query string as well, and you dont want to end up having duplicate names in the query string and the form.

« previous php.notes (#62002) next »