RE: [PHP-WIN] Class error with php
| From: | Rich Gray | Date: | Wed, 20 Nov 2002 04:53:04 +0000 |
| Subject: | RE: [PHP-WIN] Class error with php | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17047@lists.php.net to get a copy of this message | ||
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:ecd@radiotbo.com]
Sent: 14 November 2002 07:08
To: php-windows@lists.php.net
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