[PHP-DEV] PHP 4.0 Bug #6932: Filesize / File_exists and include_path From: richard.heyes <email protected>
Date: 09/29/00

From: richard.heyes <email protected>
Operating system: Any
PHP version: 4.0.2
PHP Bug Type: Feature/Change Request
Bug description: Filesize / File_exists and include_path

Currently filesize and file_exists (possibly other, these are two I know of) don't appear to support an extra argument like fopen does to make use of the include_path. So the following code would fail if the file is in the include_path:

$file = fread($fp = fopen($filename, 'r', 1), filesize($filename));
fclose($fp);

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>