Re: fwrite()

From: Date: Fri, 06 Apr 2001 23:23:54 +0000
Subject: Re: fwrite()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47525@lists.php.net to get a copy of this message
Check out .htmlspecialchars(..) .removeslashes() .stripslashes() - Richard "Augusto Cesar Castoldi" <castoldi@inf.ufsc.br> wrote in message 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#47525) next »