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:
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.
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