RE: [PHP] Can't redeclare already declared function

From: Date: Wed, 11 Apr 2001 15:21:38 +0000
Subject: RE: [PHP] Can't redeclare already declared function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48175@lists.php.net to get a copy of this message
better yet, try include_once() instead of all instances of include(). It will only include a file once, rather than every time you call include() on that path. Nifty feature. -j At 11:17 AM 4/11/2001, Johnson, Kirk wrote:
The function in question is defined in an included file, right? This function definition file is most likely being included twice. The best bet is that it is being included from another included file (at least, that's how I usually manage to produce this error :) ). Check all your included files for a line that re-includes the function definition file a second time. Kirk -----Original Message----- From: kenny.hibs [mailto:kenny.hibs@ntlworld.com] Sent: Wednesday, April 11, 2001 3:10 AM To: php-general@lists.php.net Subject: [PHP] Can't redeclare already declared function Anyone help with this Fatal error: Can't redeclare already declared function in header.php3 on line 233 The troubl is that there is no line 233 so it must be looking at another page? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
----------------------------------------------
sneak@datavibe.net      -           0x514DB5CB
he who lives these words shall not taste death becoming nothing yeah yeah forever liquid cool

« previous php.general (#48175) next »