RE: [PHP] Variable from the form

2003-06-30 Thread Dan Joseph
Hi, > I'm getting result from the form. Are there any differences between > using these 2 forms: > > > $_POST['my_variable'] > > or just > > $my_variable > > Is it more safety to use the first one? You have to use the first one if you have register_globals set to off. If you have it on,

[PHP] Variable from the form

2003-06-30 Thread Gladk
Hi! I'm getting result from the form. Are there any differences between using these 2 forms: $_POST['my_variable'] or just $my_variable Is it more safety to use the first one? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php