<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016317" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016317</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/searching-flat-files-php#comment-1094556</link>
    <description> &lt;p&gt;It&#039;s just a small project that I am doing for myself, its just messing around really. I use MySQL most of the time but I haven&#039;t really used text files all that much so.. its just an opportunity&lt;/p&gt;
 </description>
     <pubDate>Thu, 22 Nov 2001 19:04:13 +0000</pubDate>
 <dc:creator>a_gajic</dc:creator>
 <guid isPermaLink="false">comment 1094556 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/searching-flat-files-php#comment-1094537</link>
    <description> &lt;p&gt;Why are you still using flat files?  You should consider moving over to mySQL or other database program.&lt;/p&gt;
&lt;p&gt;I don&#039;t have time to write out a whole script for you, but here are some functions you&#039;ll need:&lt;br /&gt;
reading the file: &lt;a href=&quot;http://www.php.net/manual/en/function.file.php&quot; class=&quot;bb-url&quot;&gt;file()&lt;/a&gt;, &lt;a href=&quot;http://www.php.net/manual/en/function.fopen.php&quot; class=&quot;bb-url&quot;&gt;fopen()&lt;/a&gt;, &lt;a href=&quot;http://www.php.net/manual/en/function.fread.php&quot; class=&quot;bb-url&quot;&gt;fread()&lt;/a&gt;, &lt;a href=&quot;http://www.php.net/manual/en/function.fclose.php&quot; class=&quot;bb-url&quot;&gt;fclose()&lt;/a&gt;&lt;br /&gt;
parsing lines: &lt;a href=&quot;http://www.php.net/manual/en/function.strstr.php&quot; class=&quot;bb-url&quot;&gt;strstr()&lt;/a&gt;, &lt;a href=&quot;http://www.php.net/manual/en/function.preg-match.php&quot; class=&quot;bb-url&quot;&gt;preg_match()&lt;/a&gt;, &lt;a href=&quot;http://www.php.net/manual/en/function.ereg.php&quot; class=&quot;bb-url&quot;&gt;ereg()&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Search functions can be rather complex depending on the requiremens.  I&#039;d suggest searching &lt;a href=&quot;http://hotscripts.com&quot; class=&quot;bb-url&quot;&gt;http://hotscripts.com&lt;/a&gt; and &lt;a href=&quot;http://resourceindex.com&quot; class=&quot;bb-url&quot;&gt;http://resourceindex.com&lt;/a&gt; to see if they have anything that will work for you.&lt;/p&gt;
 </description>
     <pubDate>Thu, 22 Nov 2001 09:02:13 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1094537 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
