|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
ATTN: Ben Rowe - ERROR with Security script from "Building a Members Area"
I have successfully utilized your system for my members area based on your DevArtlcles article titled "Building a Members Area With PHP." After testing it thourghly (and successfully) on my test server, I then moved it over to another server (it's final destination).
I reconfigured the pages to reflect the new server, but now I get this error message on every page that utilizes the system: Fatal error: Cannot redeclare isloggedin() in /home/plc2003/public_html/class.security.php on line 222 The test server is running PHP Version 4.1.2 and the final server is running PHP Version 4.3.2. Any ideas?
__________________
$mybrain = "mush"; ------------------------------------------- http://www.loftsboston.com http://www.gregdawsondesign.com |
|
#2
|
|||
|
|||
|
Hi Mojo,
Change all of the includes to include_once and requires to require_once. So change include() to include_once() and require() to require_once(). Also, if there is a dupliucate function decleration, remove the second decleration. |
|
#3
|
||||
|
||||
|
Way to go, Mytch!
You are the man! Thanks, pal! - mojoman |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > ATTN: Ben Rowe - ERROR with Security script from "Building a Members Area" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|