I have the following function in a custom 404 page.php

It works fine on my remote host servers Apache but will not work on my local host at all. Identical files etc.

I have tried to find out why - cannot do so?

Most grateful if anyone can help
The problem is the ini_get() function...........

Thanks, Steve

PHP Code:
/* Function to check for existence of php page*/

function include_path_file_exists($oldpath)
$paths explode(":"ini_get("include_path"));
$result false;
   while ((!(
$result)) && (list($key$val) = each($paths))) {
$result file_exists($val $oldpath);