[nycphp-talk] register_globals = On
Sterling Hughes
sterling at bumblebury.com
Fri Mar 21 21:25:11 EST 2003
On Fri, 2003-03-21 at 20:02, Ken Robinson wrote:
> 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); ?>
>
Or in .htaccess:
php_value register_globals On
-Sterling
> Ken Robinson
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
--
"People can have the Model T in any colour -- so long as it's black."
- Henry Ford
More information about the talk
mailing list