Originally Posted by Dan\/6
well you had nothing declaring where $pw was coming from in what you posted first of all
|
well, that is the way PHP used to work by default settings... you could access http request parameters this way... very dangerous & stupid. Caused lots of tears and confusion to some "l33t hax0r PHP coders"
either when their sites were being hacked or when this "feature" got disabled by default.
5vz-fe: it looks like you've been very unluky picking up the web site to learn from
. Anyways for what you've been doing wrong read this:
http://www.php.net/register_globals. Also reading through their
PHP Manual is highly recommended (I know it's huge and long :shock:, but I'm unaware of any better source
).