Re: Re: MDB2 beta1 problem

From: Date: Fri, 23 Apr 2004 10:04:41 +0000
Subject: Re: Re: MDB2 beta1 problem
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12081@lists.php.net to get a copy of this message
Hi!
unforunately that doesnt work as internals@ doesnt think a method to detect if a file is includeable is useful. is_readable() doesnt use the include_path
Maybe you can use something like this: ob_start(); include($file); $error = ob_get_contents(); ob_end_clean(); if ($error != '') {
    // eroro handling - trigger_error();
} Felho

« previous php.pear.general (#12081) next »