From: artem at w510 dot tm dot odessa dot ua Operating system: redhat PHP version: 4.3.2 PHP Bug Type: Filesystem function related Bug description: 4.3.2 fopen("filename", "a") not place file pointer to the end.
after installing 4.3.2 $fr = fopen("filename", "a"); $pointer = ftell($fr); points to 0! forced to add fseek($fr, 0, SEEK_END); $pointer = ftell($fr); to move to the file end -- Edit bug report at http://bugs.php.net/?id=24071&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24071&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24071&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24071&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24071&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24071&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24071&r=support Expected behavior: http://bugs.php.net/fix.php?id=24071&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24071&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24071&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24071&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24071&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24071&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24071&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24071&r=gnused