I don't know about the efficiency .. but to do it .. you can use
function_exists() to see if a function is already defined if not include the
file for that function before using a function.
HTH
- Original Message -
From: Dave [Hawk-Systems] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
I don't know about the efficiency .. but to do it .. you can use
function_exists() to see if a function is already defined if not include the
file for that function before using a function.
Please check this for viability...
# the directory ./includes/ contains
# - get_my_info.php
To your first question, I'm sure it can only increase efficiency.
To the second, think the other way around possibly...
Within your script, do the following (or something along these lines):
Pull a list of your includes directory into an array ($all_functions in my
example)
/**
$file is the
Here is what I am looking at for a partial solutions (see redirect missing
function error for my next hurdle)...
All functions are contained within individual files in a functions directory,
none of which are hard included into the PHP pages;
eg//
./functions/ShowThis.php
4 matches
Mail list logo