RE : [PEAR] Auth and session warning in PHP4.3.3
| From: | LIMBOURG Arnaud | Date: | Mon, 22 Sep 2003 15:09:32 +0000 |
| Subject: | RE : [PEAR] Auth and session warning in PHP4.3.3 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7974@lists.php.net to get a copy of this message | ||
> In PHP if you've created a session in your script and then use
> PEAR::Auth, warning come up.
>
> From the PHP manual:
> *Note: * As of PHP 4.3.3, calling *session_start()* while the session
> has already been started will result in an error of level *E_NOTICE*.
> Also, the second session start will simply be ignored.
>
> IMO this can easily be fixed by adding an @ to session_start();
You're right, i had to patched my version to do that.
Arnaud.