Because if you are reading a book, and want to try the samples, chances are
quite big you want to try it exactly bit by bit, not modifying it on your
own... And even more, if you get like a CD or something, it must feel VERY
bad to have to rewrite it all... Now, which part was depricated? And in
php.ini-dist, error_reporting is set to all but notices by default..
Register_globals are however bad, I'll agree to that... But still, all hosts
I know of has it enabled and besides, why not? I'm probably missing
something, but what is the insecure part of register_globals? I mean, for
the scripts that needs security, you can use $_POST and $_SESSION and so on,
but for things like "Enter two numbers to see which one is biggest", it
feels quite silly to disable it... The reason for that example is that books
often have very silly examples like that...

// DvDmanDT
"Per Lundberg" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to