Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
$fp = fopen("iptlogfile.txt", "w+"); print "<pre>" . print_r($fp) . "</pre>"; $data = fread($fp, "706220"); print $data; $data = str_replace($fromstr, $tostr, $data); print $data; fwrite($fp, $data); fclose($fp);
This paste will be private.
From the Design Piracy series on my blog: