Date: 01/05/01
- Next message: Jon Parise: "Re: [PHP-DEV] Re: 4.0.4pl1 RC1 rolled"
- Previous message: Marko Karppinen: "Re: [PHP-DEV] Support of freetype2/gd in PHP4-dev?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: admin <email protected>
Operating system: Win9x
PHP version: 4.0.4
PHP Bug Type: *Directory/Filesystem functions
Bug description: fread generating false errors
when reading from an existing file the following line will work correctly:
$byte = <email protected>($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 = <email protected>($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..
-- Edit Bug report at: http://bugs.php.net/?id=8564&edit=1-- 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>
- Next message: Jon Parise: "Re: [PHP-DEV] Re: 4.0.4pl1 RC1 rolled"
- Previous message: Marko Karppinen: "Re: [PHP-DEV] Support of freetype2/gd in PHP4-dev?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

