RE: [PHP] Re: Using register_globals
| From: | Tony Crockford | Date: | Wed, 04 Jun 2003 20:13:11 +0000 |
| Subject: | RE: [PHP] Re: Using register_globals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150250@lists.php.net to get a copy of this message | ||
On this topic, could anyone point me to a good tutorial on how to
convert from sloppy code that assumes register_globals is on to good,
secure code that assumes register_globals is off.
something that covers what to look for and what to change it to would be
a great help.
I've been learning by working with someone else's (we bought it) code
and it won't run with register_globals off and I'd like it too.
it makes use of sessions (an area I'm still struggling with) and passes
a lot of variables from form to form, sometimes with post and sometimes
with get.
any suggestions would be much appreciated.
I looked at the manual and googled a lot, but can't find a plain english
guide to doing it right!
Thanks
Tony