[Pugged] sessions in includes

Dave J. Hala Jr. ciapug@ciapug.org
21 Jan 2003 11:05:06 -0600


When I switched from RH 7.3 to RH 8.0 there were some PHP changes that
broke my scripts. It was mainly short tags and register globals.

Try this setting and see if it works for you:

register_globals = On



On Tue, 2003-01-21 at 10:50, dave@visionary.com wrote:
> Angie Tollerson <tollerson@alliancetechnologies.net> said:
> 
> > This one has stumped me, doesn't seem to be much help on the net for it.
> > I have an index.php that includes a form.php. For some reason, the
> > form.php cannot register session variables. I don't get an error, i just
> > get null variables. But index.php registers them fine. I've tried
> > registering the variables at the top of index.php and inside form.php
> > and every other combination you can think of. Anyone know about this?
> > I've found lots of posts on the net with other people having the same
> > problem but no one has been ANSWERED yet. hehe. Thanks!
> > 
> 
> Are you sure you're not dealing with a globals issue? See the list of
> warnings here:
> 
> http://www.php.net/manual/en/function.session-register.php
> 
> -dc
> 
> _______________________________________________
> Ciapug mailing list
> Ciapug@ciapug.org
> http://cialug.org/mailman/listinfo/ciapug
-- 

"...Unix, MS-DOS and Windows NT (also known as the Good, the Bad, and
the Ugly)"

OSIS
Dave J. Hala Jr.
641.485.1606