Darksat IT Security Forums
January 13, 2026, 06:00:04 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Darksat IT Security Forum
From Firewall Support, AntiVirus Questions, Spyware problems, Linux and Windows Security, Black Hat SEO right down to Website Design and Multimedia
 
  Home Help Search Gallery Links Staff List Login Register  

Cannot redeclare class

Pages: [1] 2 3 4 ... 22
  Print  
Author Topic: Cannot redeclare class  (Read 13379 times)
Darksat
Administrator
Master
*******
Posts: 3303



View Profile WWW
« on: December 19, 2008, 07:47:07 am »

Actually I generally use include not requre, esentially they are the same but require will cause a fatal error that will stop the script where as include will run the rest of the script even if the include is missing.
So if you switch to include you normally get a more detailed error message.
so try include_once as this prevents the functions getting declared multiple time. (and switch to requre_once when it goes live for security reasons)
Report Spam   Logged

Pages: [1] 2 3 4 ... 22
  Print  
 
Jump to:  

Powered by EzPortal
eXTReMe Tracker
Security Forum
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy
Page created in 0.039 seconds with 10 queries.