From:             [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to