Date: 03/08/01
- Next message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #9453 Updated: Reference issue"
- Previous message: zeev <email protected>: "[PHP-DEV] PHP 4.0 Bug #9005 Updated: Static classes sometimes have a $this pointer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: achim <email protected>
Operating system: Windows
PHP version: 4.0.4pl1
PHP Bug Type: Filesystem function related
Bug description: fileposition error
Open an existing text file (insert some crap before) like:
$output = fopen("test.txt", "a"); #we want append something
Here is the problem:
$position = ftell($output); #returns always 0 and not the real fileposition!!!
fputs($output, "test"); #but this works without any problems (it has the real fileposition, but ftell gets the false one)
I found this bug only on windows systems, not on linux.
Achim
-- Edit Bug report at: http://bugs.php.net/?id=9617&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: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #9453 Updated: Reference issue"
- Previous message: zeev <email protected>: "[PHP-DEV] PHP 4.0 Bug #9005 Updated: Static classes sometimes have a $this pointer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

