From:             [EMAIL PROTECTED]
Operating system: red hat 7.2
PHP version:      4.3.0RC2
PHP Bug Type:     *General Issues
Bug description:  fgets return 1 char less

Hi
when i do a $file=fopen("http://url","r";);
$line=fgets($file,2);
$line contain only the first char of the file, not 2
this bug wasn't in the php 4.1.1 i have on another server, under which my
script work without any problem.
-- 
Edit bug report at http://bugs.php.net/?id=20877&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20877&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20877&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20877&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20877&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20877&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20877&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20877&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20877&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20877&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20877&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20877&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20877&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20877&r=isapi

Reply via email to