ID: 20215 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Windows 2000 PHP Version: 4.2.3 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-01 16:05:39] [EMAIL PROTECTED] To every writings the function "fput" adds jumps of lines in too much. Sample script : ------------------------------------------------ <FORM ACTION = "?save=1" METHOD = "post"> <TEXTAREA NAME = "contenu" ROWS="10" COLS="40"> <? $fichier = "fichier.txt"; if($save) { $fp = fopen($fichier, "w"); fputs($fp, stripslashes($contenu)); fclose($fp); } readfile($fichier); ?> </TEXTAREA><BR> <INPUT TYPE = "submit" VALUE = "Enregistrer"> </FORM> ------------------------------------------------ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20215&edit=1