[nycphp-talk] retro php
Kenneth Dombrowski
kenneth at ylayali.net
Tue Oct 14 10:08:11 EDT 2003
On 03-10-14 09:30 -0400, Analysis & Solutions wrote:
> Hi Kenneth:
>
> On Tue, Oct 14, 2003 at 03:01:20AM -0400, Kenneth Dombrowski wrote:
> >
> > I'm new enough to PHP that I've always used $_SESSION-style superglobals
> > with register_globals off & etc, but now I find myself trying to get a
> > project to run on 4.0.6
>
> Why? Are you stuck on a server with a majorly bug ridden, outdated,
> version of PHP? OUCH. Time to change providers.
>
> > At first the docs led me to the conclusion: No problem, I'll just change
> > all those $_SESSION collections to $HTTP_SESSION_VARS, but the values
>
> Far simpler is to do this at the top of the script than to change all
> instances of your variables.:
>
> $_SESSION = $HTTP_SESSION_VARS;
I wish I'd thought of that
> The rest of your questions were already answered.
>
were they? I guess shawn wasn't talking about session_register, then?
another hint, please?
More information about the talk
mailing list