| 
	
 | 
 Posted by Juby on 05/03/06 18:01 
If your form is POSTing to a script, then the variables are passed in 
by default, in the $_POST variable.  For example, $_POST['post1'] == 
"somethingA", $_POST['post2'] == "somethingB", and so on.  If you have 
regsiter_globals turned on in php.ini (which is, in general, a bad idea 
- security vulnerability), the variables will be automatically 
assigned, e.g. $post1 = "somethingA". 
 
If you're using GET, then just use the $_GET[] array.
 
[Back to original message] 
 |