Re: [phplib] $user in page.inc defined although user class not used From: Jens Benecke (phplib <email protected>)
Date: 05/24/01

On Thu, May 24, 2001 at 10:30:04AM -0500, Gary Wong wrote:
> Hi Jens,
>
> I am experiencingthis same problem after upgrading my PHP 4 to the latest
> version. Did you ever figure this out? If not, then let me know so I
> can email you if I find a solution.

Yes. It seems you user not use a global variable called $user, $sess or
$auth if it is not actually the PHPLIB session variable.
 
I used $user as a form variable and PHP barfed. I renamed it to "login" and
PHP worked again.

-- 
Jens Benecke             /* Nobody will ever see this error message :-) */
                            panic("Cannot initialize video hardware\n");
                                  -- Linux 2.0.38,  arch/m68k/atari/atafb.c
http://www.hitchhikers.de/ - Die kostenlose Mitfahrzentrale für ganz Europa

  • application/pgp-signature attachment: stored