Re: [PHP] undefined function error with lost password script

2006-03-24 Thread Robin Vickery
On 24/03/06, Barry <[EMAIL PROTECTED]> wrote: > Robin Vickery wrote: > > On 24/03/06, Richard Lynch <[EMAIL PROTECTED]> wrote: > > > >>In incredibly ancient versions of PHP, you needed to have the: > >> > >>function foo () { ... }; > >> > >>appear BEFORE you called it. > >> > > > > > > You still do

Re: [PHP] undefined function error with lost password script

2006-03-24 Thread Barry
Robin Vickery wrote: On 24/03/06, Richard Lynch <[EMAIL PROTECTED]> 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 apparen

Re: [PHP] undefined function error with lost password script

2006-03-24 Thread Robin Vickery
On 24/03/06, Richard Lynch <[EMAIL PROTECTED]> 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 w

Re: [PHP] undefined function error with lost password script

2006-03-23 Thread Richard Lynch
In incredibly ancient versions of PHP, you needed to have the: function foo () { ... }; appear BEFORE you called it. GOOD: function foo () { return 'foo'}; foo(); BAD: foo(); function foo() { return 'foo'}; It's remotely possible that you need to upgrade in a big way. You can do a quick hack

Re: [PHP] undefined function error with lost password script

2006-03-23 Thread Robin Vickery
On 23/03/06, Mark <[EMAIL PROTECTED]> wrote: > Can anyone see a problem with this at a glance. I think i have pushed my > luck with this forum ( inc. Chris)of late but i paid a lot of money for this > script and it has a few bugs. > > THis is what i get returned--- > Fatal error: Call to undefined