#22497 [Opn->Fbk]: php writes on wrong position in file after new lines

2003-03-05 Thread sniper
 ID:   22497
 Updated by:   [EMAIL PROTECTED]
 Reported By:  henrik dot gebauer at web dot de
-Status:   Open
+Status:   Feedback
 Bug Type: Filesystem function related
 Operating System: Windows 2000
 PHP Version:  4CVS-2003-03-05 (stable) (Apache2 module)
 New Comment:

So the bug happens ONLY under Apache2 when you run PHP as apache
module?



Previous Comments:


[2003-03-05 07:48:24] henrik dot gebauer at web dot de

I have my own php.ini. (changes: max_execution_time=5,
error_reporting=E_ALL, include_path, extension_dir,
extension=php_gd2.dll, session.save_path=C:\WINNT\TEMP and I have the
Zend Optimizer installed)
But I tried it also with the php.ini-dist of the latest stable snapshot
what didn't fix the bug.

Normally, I'm using PHP as an Apache2 module but I couldn't reproduce
the bug with CGI/FastCGI.

It doesn't matter if I use a compiled snapshot or if I compile it by
myself.



[2003-03-04 19:29:00] [EMAIL PROTECTED]

Are you 100% sure there isn't some clash with the versions now?? 

Also, does this happen with CLI/CGI ? 

What php.ini are you using? And what have you changed in it?
Are you loading any extensions in it?

If only you have this problem, and two developers can't reproduce it,
it's most likely something wrong in your side, not in PHP..




[2003-03-04 16:06:46] henrik dot gebauer at web dot de

I can reproduce the bug with the last stable release for Windows of PHP
4.3.2-dev (From snaps.php.net, Built On: Mar 04, 2003 17:30 GMT)
Replacing the php4ts.dll by the one of PHP 4.3.1 fixes the problem.



[2003-03-04 10:27:46] [EMAIL PROTECTED]

And I can't reproduce this in Windows 2000 using latest stable snapshot
either. Please try again, but this time,
make sure you really update the PHP.




[2003-03-03 09:34:17] [EMAIL PROTECTED]

Cannot reproduce on Windows XP.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22497

-- 
Edit this bug report at http://bugs.php.net/?id=22497&edit=1



#22497 [Opn->Fbk]: php writes on wrong position in file after new lines

2003-03-04 Thread sniper
 ID:   22497
 Updated by:   [EMAIL PROTECTED]
 Reported By:  henrik dot gebauer at web dot de
-Status:   Open
+Status:   Feedback
 Bug Type: Filesystem function related
 Operating System: Windows 2000
 PHP Version:  4CVS-2003-03-02 (stable)
 New Comment:

Are you 100% sure there isn't some clash with the versions now?? 

Also, does this happen with CLI/CGI ? 

What php.ini are you using? And what have you changed in it?
Are you loading any extensions in it?

If only you have this problem, and two developers can't reproduce it,
it's most likely something wrong in your side, not in PHP..



Previous Comments:


[2003-03-04 16:06:46] henrik dot gebauer at web dot de

I can reproduce the bug with the last stable release for Windows of PHP
4.3.2-dev (From snaps.php.net, Built On: Mar 04, 2003 17:30 GMT)
Replacing the php4ts.dll by the one of PHP 4.3.1 fixes the problem.



[2003-03-04 10:27:46] [EMAIL PROTECTED]

And I can't reproduce this in Windows 2000 using latest stable snapshot
either. Please try again, but this time,
make sure you really update the PHP.




[2003-03-03 09:34:17] [EMAIL PROTECTED]

Cannot reproduce on Windows XP.



[2003-03-02 05:49:55] henrik dot gebauer at web dot de

The script produces the following output with the current CVS version:
\n\n\n\n\n\n01234567890123test89

This is the output I expect. I get it with PHP 4.3.0 and earlier
versions.
\n\n\n\n\n\n01234567890123456789test



[2003-03-01 18:55:57] [EMAIL PROTECTED]

Please show us the output produced by the script, and also the output
that you expect the script to produce.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22497

-- 
Edit this bug report at http://bugs.php.net/?id=22497&edit=1



#22497 [Opn->Fbk]: php writes on wrong position in file after new lines

2003-03-04 Thread sniper
 ID:   22497
 Updated by:   [EMAIL PROTECTED]
 Reported By:  henrik dot gebauer at web dot de
-Status:   Open
+Status:   Feedback
 Bug Type: Filesystem function related
 Operating System: Windows 2000
 PHP Version:  4CVS-2003-03-02 (stable)
 New Comment:

And I can't reproduce this in Windows 2000 using latest stable snapshot
either. Please try again, but this time,
make sure you really update the PHP.



Previous Comments:


[2003-03-03 09:34:17] [EMAIL PROTECTED]

Cannot reproduce on Windows XP.



[2003-03-02 05:49:55] henrik dot gebauer at web dot de

The script produces the following output with the current CVS version:
\n\n\n\n\n\n01234567890123test89

This is the output I expect. I get it with PHP 4.3.0 and earlier
versions.
\n\n\n\n\n\n01234567890123456789test



[2003-03-01 18:55:57] [EMAIL PROTECTED]

Please show us the output produced by the script, and also the output
that you expect the script to produce.



[2003-03-01 16:20:56] henrik dot gebauer at web dot de

sorry, Netscape filled the summary with the wrong contents.



[2003-03-01 16:07:52] henrik dot gebauer at web dot de

Note: The new line chars can be everywhere in the first string.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22497

-- 
Edit this bug report at http://bugs.php.net/?id=22497&edit=1



#22497 [Opn->Fbk]: php writes on wrong position in file after new lines

2003-03-01 Thread wez
 ID:   22497
 Updated by:   [EMAIL PROTECTED]
 Reported By:  henrik dot gebauer at web dot de
-Status:   Open
+Status:   Feedback
 Bug Type: Filesystem function related
 Operating System: Windows 2000
 PHP Version:  4CVS-2003-03-01 (stable)
 New Comment:

Please show us the output produced by the script, and also the output
that you expect the script to produce.


Previous Comments:


[2003-03-01 16:20:56] henrik dot gebauer at web dot de

sorry, Netscape filled the summary with the wrong contents.



[2003-03-01 16:07:52] henrik dot gebauer at web dot de

Note: The new line chars can be everywhere in the first string.



[2003-03-01 16:06:20] henrik dot gebauer at web dot de

New line chars seem not to count any longer.
The following example writes 6 new lines in a file, then 20 chars.
'test' should be placed after the last '9' but it is placed after the
last '3' (6 characters earlier as there are 6 new line chars)

I didn't have the problem with earlier versions of PHP.






-- 
Edit this bug report at http://bugs.php.net/?id=22497&edit=1