Auth and session warning in PHP4.3.3
| From: | Jeroen Houben | Date: | Mon, 22 Sep 2003 12:53:56 +0000 |
| Subject: | Auth and session warning in PHP4.3.3 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7959@lists.php.net to get a copy of this message | ||
Hi,
I'm pretty sure I posted this a week ago, but haven't received an answer yet so I'll try again :-)
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();
HTH,
Jeroen