<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021439" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021439</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-create-text-file#comment-1132222</link>
    <description> &lt;p&gt;I believe you have to add \n after the first entry. Not sure myself, either.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 May 2003 00:40:16 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1132222 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-create-text-file#comment-1132123</link>
    <description> &lt;p&gt;The PHP equivalent to ASP&#039;s filesystem:&lt;br /&gt;
&lt;a href=&quot;http://us4.php.net/manual/en/ref.filesystem.php&quot; class=&quot;bb-url&quot;&gt;http://us4.php.net/manual/en/ref.filesystem.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$fp &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;fopen&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;/path/to/file.txt\&quot;, &#039;w+&#039;);&lt;br /&gt;// or&lt;br /&gt;//&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fp&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = fopen(\&quot;c:\path\to\file.txt\&quot;, &#039;w+&#039;);&lt;br /&gt;&lt;br /&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fp&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fwrite(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fp&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, \&quot;&amp;lt;test1&amp;gt;&amp;lt;/test1&amp;gt;\&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fwrite(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fp&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, \&quot;&amp;lt;test2&amp;gt;&amp;lt;/test2&amp;gt;\&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; close(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fp&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;I don&#039;t remember if it appends a newline or not.&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 May 2003 23:56:21 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1132123 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
