ID: 24991
Updated by: [email]sniperphp.net[/email]
Reported By: weife01 at ca dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Filesystem function related
Operating System: Windows2000
PHP Version: 4.3.2
New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-08-08 17:44:17] [email]sniperphp.net[/email]

Please provide a short but complete example script which clearly shows
the problem.


------------------------------------------------------------------------

[2003-08-08 17:26:00] weife01 at ca dot com

But I couldn't rtrim() my code for it runs fine all these time until
this client uses PHP script.
I'd like to find out why running under PHP, my fgets function behavour
differently.

------------------------------------------------------------------------

[2003-08-08 17:21:40] [email]moriyoshiphp.net[/email]

fgets() doesn't automagically trim EOL charactres.

[url]http://www.php.net/fgets[/url]

Perhaps what to do next is rtrim() it at the appropriate place of your
code and see if it works.

------------------------------------------------------------------------

[2003-08-08 17:20:12] weife01 at ca dot com

On Windows2000, only Unix EOL works

------------------------------------------------------------------------

[2003-08-08 17:19:17] [email]edinkphp.net[/email]

Please try using this CVS snapshot:

[url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

For Windows:

[url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]



------------------------------------------------------------------------

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
[url]http://bugs.php.net/24991[/url]

--
Edit this bug report at [url]http://bugs.php.net/?id=24991&edit=1[/url]