Check if a PHP function name if available on dedicated linux server
November 20th, 2008If you have your site hosted on a linux based dedicated server and are looking if the “php function” that you need is available or not on the server, a small piece of php code can help you find it. You have to created a file for ex. functions-in.php and add the below code in it – further browse the file in your favourite browser. http://www.yourdomain.com/functions-in.php
<?php
if (function_exists('FUNCTION_NAME')) {
echo "Function is available.<br />\n";
} else {
echo "Function is not available.<br />\n"; }
?>
It will display the result within your php page.
This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.







