Re: [PHP] Call to undefined function problem

2001-09-12 Thread Doug Farmer
HP] Call to undefined function problem I'm doing the following: test.php - ?php require(functions.php); require(); // several other requires here setNoCacheHeaders(); // this is line 16 // other stuff here ? -- functions.php - ?php if

Re: [PHP] Call to undefined function problem

2001-09-11 Thread Andrey Hristov
] Call to undefined function problem I'm doing the following: test.php - ?php require(functions.php); require(); // several other requires here setNoCacheHeaders(); // this is line 16 // other stuff here ? -- functions.php - ?php if (!define(__FUNCTIONS__

[PHP] Call to undefined function problem

2001-09-10 Thread Doug Farmer
I'm doing the following: test.php - ?php require(functions.php); require(); // several other requires here setNoCacheHeaders(); // this is line 16 // other stuff here ? -- functions.php - ?php if (!define(__FUNCTIONS__) ) { define( __FUNCTIONS__, 1, 1 ); // a bunch

Re: [PHP] Call to undefined function problem

2001-09-10 Thread Rasmus Lerdorf
Try the current 4.0.7 release candidates. There were some define() related issues in prior versions. Also, in PHP 4 you don't need those defines to protect from multiple inclusion. You can simply use include_once -Rasmus On Mon, 10 Sep 2001, Doug Farmer wrote: I'm doing the following: