Re: undefined function error with lost password script
| From: | Robin Vickery | Date: | Fri, 24 Mar 2006 09:50:56 +0000 |
| Subject: | Re: undefined function error with lost password script | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232530@lists.php.net to get a copy of this message | ||
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