Re: Re: fwrite()

From: Date: Tue, 08 Nov 2005 21:24:14 +0000
Subject: Re: Re: fwrite()
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26472@lists.php.net to get a copy of this message
Submit you're code to the list and let's see if we can help you. JC Botha wrote:
Dear Rosty Thanks for your input, but it does not change the situation at all! :( Please let me know if there is something else that you think about. Greetings JC -----Original Message----- From: Rosty Kerei [mailto:rosty.kerei@gmail.com] Sent: 08 November 2005 01:32 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Re: fwrite() Maybe you need to replace "\n" to "\r\n"? Like - $_POST['textbox'] = str_replace("\n", "\r\n", $_POST['textbox']); Sincerely, Rosty Kerei rosty.kerei@gmail.com ""JC Botha"" <odegos@gmail.com> wrote in message news:437061a9.1e58b55b.2fbe.7755@mx.gmail.com...
Dear Users, thanks for those that helped me last time! I got it working. At the moment I'm stuck with the fwrite() function. If I use the $_POST to get the data out of a textbox into a var, and write it to a txt file I get the following problem. The very first encounter it makes with a "\n" it stops the string. Thus I do not get more than one paragraph into my txt file. What should I do to bypass this? Thanks
    


Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
« previous php.windows (#26472) next »