TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 06-29-2009, 07:52 PM   #1 (permalink)
The Acquainted
 
captainmerton's Avatar
 
Join Date: May 2009
Posts: 178
Thanks: 9
captainmerton is on a distinguished road
Default Fatal error: Cannot redeclare...

Any ideas why I am getting this error? Cant understand why I am getting it I am calling a function called validateTime twice in the same class but then i also call a date function i have written twice within the same class and dont get the error for that:

Quote:
Originally Posted by PHP
Fatal error: Cannot redeclare validatetime() (previously declared in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\betgame\lib\date.funct ions.php:77) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\betgame\lib\date.funct ions.php on line 77

Last edited by Wildhoney : 06-29-2009 at 08:24 PM.
captainmerton is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
pfp fatal error:cannot redeclare extract() tech Advanced PHP Programming 1 06-25-2009 12:20 PM
Fatal error: [] operator not supported for strings in /.... pipesportugal General 2 06-05-2008 09:00 PM
Fatal Error: Cannot redeclare partial_str() obolus Absolute Beginners 3 12-15-2007 06:58 PM


All times are GMT. The time now is 02:33 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design