ID: 8564
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: *Directory/Filesystem functions
Assigned To: 
Comments:

No feedback. If this happens with soon to be released PHP 4.0.5 too, reopen this bug 
report.

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2001-03-01 21:57:04] [EMAIL PROTECTED]
Does this happen with PHP 4.0.4pl1 or not?

--Jani


---------------------------------------------------------------------------

[2001-01-06 02:44:20] [EMAIL PROTECTED]
note: 4.0.4pl1 RC1 doesn't exhibit this behavior.

---------------------------------------------------------------------------

[2001-01-05 10:57:35] [EMAIL PROTECTED]
when reading from an existing file the following line will work correctly:
$byte = @fread($fp,2) or die("ERROR: Can't read from file.");

but the next line will cause the script to "die" no matter if it the beginning or 
halfway the file.

$byte = @fread($fp,1) or die("ERROR: Can't read from file.");

the ini file is the standard ini file with the timeout set to 0 so it doesnt time out. 
the script is run in an MSDos shell in windows.. It works fine till it needs to read 1 
single byte from a file..


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8564&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to