> Just configure it in php.ini. Set auto_append_file to wherever your
> function is.
Well that might not be a good idea if you don't want the functions to
be available for all virtual hosts (or if you don't have access to the
php.ini file).
I prefer to use the .htaccess method:
php_value auto_prepend_file /full/path/to/script.php