NYCPHP Meetup

NYPHP.org

[nycphp-talk] Can't get no $action

Adam Maccabee Trachtenberg adam at trachtenberg.com
Mon Apr 26 10:53:25 EDT 2004


On Mon, 26 Apr 2004, Jeff Siegel wrote:

> Some of these books have great ideas but make life quite confusing for
> the newcomer. Some books use $HTTP_POST_VARS and others use $_POST in
> their code. (See note 1 at
> http://phundamentals.nyphp.org/PH_bookrecommendations.php). It depends
> when they were written. And, as you found out, some assume
> register_globals has been turned on.

FWIW, "PHP Cookbook" assumes register_globals is Off and always
superglobals like $_POST over the $HTTP_POST_VARS equivalent.

However, it is not a book I necessarily recommend to someone just
learning PHP. It's a book you should when you've been programming in
PHP for six months or more. (Unless you've been a programmer in a
previous life; then you should buy "PHP Cookbook" right away.) :)

-adam

-- 
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!



More information about the talk mailing list