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:
> >
> > ---
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(
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".
"
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:
>
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("
5 matches
Mail list logo