Re: Auth and Register Globals
| From: | Martin Jansen | Date: | Thu, 06 Mar 2003 08:24:39 +0000 |
| Subject: | Re: Auth and Register Globals | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4051@lists.php.net to get a copy of this message | ||
On Wed Mar 05, 2003 at 09:0435PM -0500, Jack Kline wrote:
> Is anyone aware of Auth not working when the PHP "register_globals=On"?
> I've been using Auth in my latest website delivery and its been working as
> expected in my development env (Apache 1.3.27, PHP 4.3.1, MySql 3.23.47
> running on Win XP) with the "register_globals=Off". When I installed my code
> recently to an ISP, the Auth starting throwing the exception "Fatal error:
> Call to a member function on a non-object" in the Auth->start() method on
> the line "if(!$this->checkAuth()))"
What version of PEAR::Auth do you use. Can you show us the relevant
lines that can helps us to reproduce this?
--
- Martin Martin Jansen
http://martinjansen.com/