Date: 07/15/02
- Next message: Emily WILD: "[PHP-DOC] header location syntax to pass string values to the destination"
- Previous message: philip <email protected>: "[PHP-DOC] Bug #18361 Updated: Tutorial on php.net uses deprecated $HTTP_*_VARS variables"
- In reply to: philip <email protected>: "[PHP-DOC] Bug #18361 Updated: Tutorial on php.net uses deprecated $HTTP_*_VARS variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fixed the example on phpweb/tut.php, added also a
small blurb on the recent changes that affect old code
found elsewhere, with links to the "Predefined
variables" manual page. Closing this bug.
--- philip <email protected> wrote:
> ID: 18361
> Updated by: philip <email protected>
> -Summary: Tutorial on php.net still usses
> $HTTP_POST_VARS["name"]; which is
> deprecated
> Reported By: drecaise <email protected>
> Status: Open
> Bug Type: Documentation problem
> Operating System: all
> PHP Version: 4.2.1
> New Comment:
>
> tut.php is in phpweb, not phpdoc.
>
> On a related note, $HTTP_*_VARS will most likely
> exist forever. A much
> more serious problem on tut.php is how the words
> convey that
> register_globals is always on, like in PHP3. See
> bug #17428.
>
>
> Previous Comments:
>
------------------------------------------------------------------------
>
> [2002-07-15 18:49:40] drecaise <email protected>
>
> <edit> grammar correction </edit>
>
>
------------------------------------------------------------------------
>
> [2002-07-15 18:43:15] drecaise <email protected>
>
> 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
>
>
> --
> PHP Documentation Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=====
--- Jesus M. Castagnetto <jmcastagnetto <email protected>>
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Emily WILD: "[PHP-DOC] header location syntax to pass string values to the destination"
- Previous message: philip <email protected>: "[PHP-DOC] Bug #18361 Updated: Tutorial on php.net uses deprecated $HTTP_*_VARS variables"
- In reply to: philip <email protected>: "[PHP-DOC] Bug #18361 Updated: Tutorial on php.net uses deprecated $HTTP_*_VARS variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

