Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

stream filter to append

Mon Oct 27, 2008 12:10 pm

Code:

<?php
$blog
= <<< blog
Do you write blog?

blog;
   
$fh = fopen("filter.html", "w");
   
stream_filter_append($fh, "string.strip_tags", STREAM_FILTER_WRITE, "<br>");
   
fwrite($fh, $blog);
   
fclose($fh);
?>




Post a reply
  Related Posts  to : stream filter to append
 Append string in C++     -  
 append,prepend,add after and add before     -  
 Append to file using php     -  
 stream operator     -  
 stream get filters     -  
 Read stream from URL using Java     -  
 BufferedReader.ready() true at end of stream ?     -  
 How to stream a live video from a dlink     -  
 Median filter to image     -  
 Transform Rotate Filter     -