note 21201 rejected from function.require-once by torben

From: Date: Thu, 02 May 2002 22:41:45 +0000
Subject: note 21201 rejected from function.require-once by torben
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-30106@lists.php.net to get a copy of this message
Hey hey all.. Now, I got a small prob here.. I got a site... They both need the function.php and and it's the base that I use on many sites. Now my prob is.. in my funtion.php stands "function Text($section) { $row = db_fetch_array(db_query("SELECT text FROM dark_text WHERE name='$section'")); return $row[0]; }" Now, on one side. I go to the mainpage. It works. I go to the admin page. It works to. Now. I have a other site. Same constructed with these same lines and on page these lines works. and the other page I get the messange "Fatal error: Cannot redeclare text() in /home/ravenclans/hosted/deathforce/public_html/test/functions.php on line 3" So, what's the problem here now.. It's both on the same host (Ravenclans.com) and on one hosting these lines works and on the other host not.. What's now the difference off the two? If ya know tha answer, let me know... Else I can't enter my admin section of the newly builded site. It's located on http://deathforce.ravenclans.com/test Login id -> admin pw -> nimda Similair site is located on http://deathforce.ravenclans.com/site (don't mind on the fault) login id -> admin pw: nimda (you may enter, the site is no linger of use) Thx in advance Greetzz EuT ;) ;)

« previous php.notes (#30106) next »