Re: How to redirect after a valid login
| From: | Bruno Ferreira | Date: | Mon, 15 Mar 2004 20:42:38 +0000 |
| Subject: | Re: How to redirect after a valid login | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33459@lists.php.net to get a copy of this message | ||
Larry Sandwick wrote:
Here is the error I get when I use the include below: include "MainMenu.php"; Fatal error: Cannot redeclare class db in /tmp/disk/home/webmaster/Files/WWW/pearDB/DB.php on line 211 // LarrySeems that MainMenu.php (or a file included by it) re-includes the DB.php file. Look into that, and replace require() and include() with require_once() and include_once() to avoid this kind of conflict. Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus]