Re: [PHP] Call to undefined function problem

2001-09-12 Thread Doug Farmer
Message - > From: "Doug Farmer" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, September 11, 2001 6:50 AM > Subject: [PHP] Call to undefined function problem > > > > > > I'm doing the following: > > > > ---

Re: [PHP] Call to undefined function problem

2001-09-11 Thread Andrey Hristov
gt; Sent: Tuesday, September 11, 2001 6:50 AM Subject: [PHP] Call to undefined function problem > > I'm doing the following: > > test.php - > require("functions.php"); > require(""); // several other requires here > > setNoCacheHeaders(

Re: [PHP] Call to undefined function problem

2001-09-10 Thread Doug Farmer
Thanks. I ran some further tests and came to the same conclusion. My test showed that the constant was defined even though in theory it should be a new request. Since this is a production system, I don't want to go with a release candidate. I'm going to do a switchover to "include_once". "

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: >

[PHP] Call to undefined function problem

2001-09-10 Thread Doug Farmer
I'm doing the following: test.php - -- functions.php - "; function setNoCacheHeaders( ) { static $headersNotSet = TRUE; if ( $headersNotSet ) { header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");// Date in the past header("Last-Modified: " . gmdate("