Bug #6932 Updated: Filesize / File_exists and include_path

From: Date: Sun, 12 Aug 2001 20:00:53 +0000
Subject: Bug #6932 Updated: Filesize / File_exists and include_path
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-63018@lists.php.net to get a copy of this message
ID: 6932 Updated by: heyesr Reported By: richard.heyes@heyes-computing.net Old Status: Closed Status: Open Bug Type: Feature/Change Request Operating System: Any PHP Version: 4.0.2 New Comment: That's nice. Doesn't solve the feature request though. Previous Comments: ------------------------------------------------------------------------ [2001-08-12 15:25:02] sebastian@php.net according to the docs: int fopen (string filename, string mode [, int use_include_path]) ------------------------------------------------------------------------ [2000-09-29 02:08:42] richard.heyes@heyes-computing.net 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); ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=6932&edit=1

« previous php.dev (#63018) next »