RE: [PEAR-DEV] File bug and Mime_Mail extension

From: Date: Thu, 16 May 2002 16:35:47 +0000
Subject: RE: [PEAR-DEV] File bug and Mime_Mail extension
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6153@lists.php.net to get a copy of this message
> a problem with "File::readAll( remote file )" on a remote file: > the method File::_getFilePointer checks the following > > // Check it exists > if (FILE_MODE_READ == $mode AND !file_exists($filename)) { > return PEAR::raiseError('File does not exists: ' . > $filename); Latest cvs copy of File.php doesn't have this problem. However I would prefer Mail_Mime not to rely on the File:: class. A simple loop should be fine here. -- Richard Heyes Need webmail? http://www.v-webmail.co.uk

« previous php.pear.dev (#6153) next »