Bug #18361 Updated: Tutorial on php.net still usses $HTTP_POST_VARS["name"]; which is deprecated

From: Date: Mon, 15 Jul 2002 22:49:40 +0000
Subject: Bug #18361 Updated: Tutorial on php.net still usses $HTTP_POST_VARS["name"]; which is deprecated
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-14247@lists.php.net to get a copy of this message
ID: 18361 Updated by: drecaise@hotmail.com -Summary: Tutorial on php.net still usses $HTTP_POST_VARS["name"]; wich is deprecated Reported By: drecaise@hotmail.com Status: Open Bug Type: Documentation problem Operating System: all PHP Version: 4.2.1 New Comment: <edit> grammar correction </edit> Previous Comments: ------------------------------------------------------------------------ [2002-07-15 18:43:15] drecaise@hotmail.com On http://www.php.net/tut.php there is an example of how to get form variables data into php variables. In this example $HTTP_POST_VARS["name"]; is used instead of: $_POST["name"] Since the manual tells the world that $HTTP_*_ is deprecated I think it is sensible to make sure this beginners tutorial gives those beginners a good example. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18361&edit=1

« previous php.bugs (#14247) next »