Re: [PHP] Call to undefined function problem

2001-09-12 Thread Doug Farmer
Typo in my explanation. I had "defined" in my code. Nice catch though. However, I'm running into more define issues. When I get to a file through a redirect via header("Location: /newfile.php"), my defines are existing as tested by "defined" but the values are all corrupt. However, if I the

Re: [PHP] Call to undefined function problem

2001-09-11 Thread Andrey Hristov
if (!define("__FUNCTIONS__") ) must be: > if (!defined("__FUNCTIONS__") ) Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message - From: "Doug Farmer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 6:50 AM Subject

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