fwrite()
| From: | Augusto Cesar Castoldi | Date: | Fri, 06 Apr 2001 23:16:59 +0000 |
| Subject: | fwrite() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-47522@lists.php.net to get a copy of this message | ||
I have a textarea and I want to save the textarea text into a file. Then I
put this in the html:
<INPUT NAME="arqcliente" TYPE="file">
And this in action of php:
$fd = fopen("Augusto.wri", "w" );
fwrite($fd, $conteudo);
fclose( $fd );
But I'm having a big problem on this. Is the text has this caracter ("),
the PHP add "\" before.
So the number of (\) double every time that I want to update the file via
textarea.
How can I solve this problem?
regards,
Augusto