#20215 [Opn->Fbk]: fputs(); (Line Feed / Carriage Return)

From: Date: Fri, 20 Dec 2002 05:10:38 +0000
Subject: #20215 [Opn->Fbk]: fputs(); (Line Feed / Carriage Return)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28068@lists.php.net to get a copy of this message
 ID:               20215
 Updated by:       iliaa@php.net
 Reported By:      admin@serveurperso.com
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: Windows 2000
 PHP Version:      4.3RC1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip




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

[2002-11-27 13:22:47] admin@serveurperso.com

I had foreseen what it is necessary since the beginning on:
http://www.serveurperso.com/temp (fichier.txt and
copy-paste from the
show_source("fputs.php");)

I send "fputs.php" script and "fichier.txt" sample text file to you
(wez@php.net) to make win you of the time.

I don't arrive determined of or come these 0D0A(hex) in too much. It
doubles has every writings.

(I am French sorry for my english)

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

[2002-11-27 06:09:24] wez@php.net

Can you provide a link that will allow me to download the .txt and .php
files directly?
(or zip them up and mail them to me)

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

[2002-11-26 17:09:01] admin@serveurperso.com

I meet the problem with - Windows 2000 Pro SP3 (FAT32) - Apache 1.3.27
- PHP 4.3RC1 *with php.ini-recommended*
(http://www.serveurperso.com/php.ini)
This small script bug (mini notepad for admin-zone...)
http://www.serveurperso.com/temp/fputs.php
! The bug with PhpMyExplorer text file editor is the same.
Is it can be an Apache problem in the interpretation of the form?

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

[2002-11-16 17:08:53] wez@php.net

I can't reproduce the problem using PHP 4.3RC1 or the slightly more up
to date PHP 4.3 development branch and
the script that you provided, either under win XP with IIS
or linux.

I'm using php.ini-recommended, so please make sure that
you don't have any zany settings turned on in your php.ini or server
configuration.


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

[2002-11-16 06:22:55] admin@serveurperso.com

The last PHP CVS snapshot (Win32) doesn't correct the bug  
Demo/Source :
http://www.serveurperso.com/temp/fputs.php
The function always adds some incorrects CRLF.

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

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/20215

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



Thread (17 messages)

« previous php.bugs (#28068) next »