RE: [PHP-DEV] downgrade undefined function from fatal error

2002-12-14 Thread John Coggeshall
There is absolutely no reason why you cannot simply include your functions in your scripts. If you are really lazy, you can even auto_prepend an include file. John -Original Message- From: Dave [Hawk-Systems] [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 8:56 AM To:

Re: [PHP-DEV] downgrade undefined function from fatal error

2002-12-14 Thread Ivan Ristic
John Coggeshall wrote: There is absolutely no reason why you cannot simply include your functions in your scripts Erm, to avoid manual work? There is no reason whatsoever to include files manually. Right now you must pre-load every single class you intend to use in the application.

Re: [PHP-DEV] downgrade undefined function from fatal error

2002-12-13 Thread Derick Rethans
On Fri, 13 Dec 2002, Dave [Hawk-Systems] wrote: ... ?PHP function func($f_name){ if(!function_exists($f_name)){ # function doesn't exists, needs to be included require('/path/to/functions/'.$f_name.'.php'); }else{ # function already