NYCPHP Meetup

[nycphp-talk] register_globals = On

Ken Robinson kenrbnsn at rbnsn.com
Fri Mar 21 20:02:02 EST 2003


At 07:31 PM 3/21/2003 -0500, you wrote (in part):
>For me to migrate the Session variables to $_SESSION['element'] would be
>work, but doable.  To handle all the Post vars is another story.
>
>Has anyone else been faced with this issue and if so how did you address it.

The easiest way to do what you want is to include the following code at the 
top of programs:

<?php if (!empty($_POST)) extract($_POST); ?>

Ken Robinson




More information about the talk mailing list