Re: undefined function error with lost password script
| From: | Robin Vickery | Date: | Fri, 24 Mar 2006 15:33:46 +0000 |
| Subject: | Re: undefined function error with lost password script | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232545@lists.php.net to get a copy of this message | ||
On 24/03/06, Barry <barry@flyerheaven.de> wrote:
> 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.
<blink style="color:red; font-size:30pt"> I R O N Y </blink>
-robin