Hi Folks,
i got a big problem. I have a script which includes some other script i
tried include, require and require once. The problem is, if i do a
function call to a function in one of these included files, the script
aborts but without any error. The strange thing is, normally require
should give an error if it can't include any file. But the files are
accessible, error reporting is E_ALL. Some functions are callable but
others not and still no error. the only way how i came to this was
putting some die()s to see where
the script is aborting.
I hope anybody can help me because i have no idea what that could be.
tia.
Ben
You can see if the function exists in you main script...
if ( function_exists ( "functionName" ) ) { echo ( "Function Exists." ); } else { echo ( "Function Does Not Exists." ); }
Or you can echo out something in the function you're trying to call...
function whatever() { echo ( "<!-- It worked -->" ); // More Code }
-- *********************************************************************** * _ __ __ __ _ * John Nichel * * | |/ /___ __ \ \ / /__ _ _| |__ ___ __ ___ _ __ * 716.856.9675 * * | ' </ -_) _` \ \/\/ / _ \ '_| / /(_-<_/ _/ _ \ ' \ * 737 Main St. * * |_|\_\___\__, |\_/\_/\___/_| |_\_\/__(_)__\___/_|_|_|* Suite #150 * * |___/ * Buffalo, NY * * http://www.KegWorks.com [EMAIL PROTECTED] * 14203 - 1321 * ***********************************************************************
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php