note 95040 deleted from function.fgetss by danbrown

From: Date: Thu, 10 Dec 2009 17:09:59 +0000
Subject: note 95040 deleted from function.fgetss by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-163818@lists.php.net to get a copy of this message
Note Submitter: contato at joaofernandes dot net Reason: 4 ---- # ALTERA CONTEUDO DO ARQUIVO $arquivo = "caminhodoarquivo.txt"; function alteraArquivo($arquivo,$texto) { $handle = fopen ($arquivo, "w+"); while(!feof ($handle)) { $conteudo = fgetss($handle); $write = fwrite($handle, strip_tags($texto)); } fclose ($handle); }

« previous php.notes (#163818) next »