From:             [EMAIL PROTECTED]
Operating system: Any Windows OS
PHP version:      4.1.1
PHP Bug Type:     Scripting Engine problem
Bug description:  ftell does not work consistently

In Windows ftell() will ALWAYS return 0, if called right after fopen() for
append, even if the file has data in it.

In UNIX this instead would show the position inside the file and can be
used to determine the filesize prior to writing data.

This happends because of the different implementation of file append in
Windows due to nature of NTFS file system.
-- 
Edit bug report at http://bugs.php.net/?id=15528&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15528&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15528&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15528&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15528&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15528&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15528&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15528&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15528&r=submittedtwice

Reply via email to