Hi all.
If I wanted to use a custom session_handler or error_handler for my scripts what would be the best way to include those functions in every script? Should I include them in a single file and then include that file in every script or should I use
auto_prepend_file = "custom_fns.php" in my php.ini file?
I was thinking of using auto_append to include my session_handler, error_handler and database connections in every script. Is there any specific reason why I should not do this? Can this config directive be overridden/set with .htaccess?
Someone, please help.
Thanks in advance for any suggestions.