Check out

    .htmlspecialchars(..)
    .removeslashes()
    .stripslashes()

- Richard


"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote in message
Pine.GSO.4.10.10104062012140.20277-100000@venus">news:Pine.GSO.4.10.10104062012140.20277-100000@venus...
> 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to