Page 1 of 1

Variables on Forms

Posted: Wed Apr 30, 2003 11:19 pm
by Caped Knight
Small question: when I'm transferring data via get/post over a form does the "name='name'" attribute (within the form) automatically get turned to the variable '$name' in the action page or do I need to type '$_POST["name"] = $name'?

Thanks.

Posted: Thu May 01, 2003 1:52 am
by toms100
it depends if you have register_globals on, although either way i suggest you refer to the variables as $_POST['variable'] as it is alot more secure