if the classes are in include files then you are probably including the file twice. look into using include_once() require_once() instead...
-----Original Message----- From: ecd [mailto:[EMAIL PROTECTED]] Sent: 14 November 2002 07:08 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Class error with php Hi, I have to class for two different authentication page. ex. authentication for studend and other for teacher... and the authentication script for student work perfectly but the script for teacher give the following error.. Fatal error: Cannot redeclare class pauth in /proyectoweb/pLoguea.php on line 2 what this means, these are different classes with name differents too. How can I solve this problem... -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php