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

From: Date: Mon, 15 Jul 2002 22:43:16 +0000
Subject: Bug #18361: Tutorial on php.net still usses $HTTP_POST_VARS["name"]; wich is deprecated
Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-14245@lists.php.net to get a copy of this message
From: drecaise@hotmail.com Operating system: all PHP version: 4.2.1 PHP Bug Type: Documentation problem Bug description: Tutorial on php.net still usses $HTTP_POST_VARS["name"]; wich is deprecated 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 bug report at http://bugs.php.net/?id=18361&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18361&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18361&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18361&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18361&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18361&r=support Expected behavior: http://bugs.php.net/fix.php?id=18361&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18361&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18361&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18361&r=globals

« previous php.bugs (#14245) next »