Re: undefined function error with lost password script

From: Date: Fri, 24 Mar 2006 10:49:21 +0000
Subject: Re: undefined function error with lost password script
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-232534@lists.php.net to get a copy of this message
Robin Vickery wrote:
On 24/03/06, Richard Lynch <ceo@l-i-e.com> wrote:
In incredibly ancient versions of PHP, you needed to have the: function foo () { ... }; appear BEFORE you called it.
You still do in PHP5 if the function definition is in a conditional block. Like his. But apparently the script was thoroughly tested before he paid for it, so that can't be the problem :-) -robin Well if it was throughly tested then there wouldn't be errors.
And the error "is" because of the function called before declared. Greets Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

« previous php.general (#232534) next »