This sounds stupid, but I've found it way wasier to read code one has written with the _POST, _GET, _ETC arrays. Especially so when you haven't looked in a file for a few months or so. Yeah, it's a good habit. -Dash If you eat a live frog in the morning, nothing worse will happen to either of you for the rest of the day. On Sat, 1 Nov 2003, GaguWD wrote: > Register Globals is off because it prevents security issues with your code. > There is an example on the PHP Manual that shows how can anyone access into > a membership-based site if it works with Register Globals on. No one would > need to use a form, for example, because typing the correct variables on the > URL, you could enter the site, or even see other people's accounts (they are > stored in the browser's memory). > > Besides that, it's a good programming habit to write $_GET or $_POST instead > of just the variable name. > > Bye! > MG29 > > -----Mensaje original----- > De: Patrick Dufresne [mailto:duff3@primus.ca] > Enviado el: Sábado, 01 de Noviembre de 2003 06:49 p.m. > Para: php-windows@lists.php.net > Asunto: Re: POST and GET form > > > Gaguwd a écrit : > > How do you try to recover it? > > > > You must use this type of variable to recover your data: > > $_POST['variable_name'] and $_GET['variable_name'] > > Yeah! I just found it there: > http://www.php.net/manual/en/faq.using.php#faq.using.variables > > Why register_globals is now OFF by default? I put it ON until I change > my variable. > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php