<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000816" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000816</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/limiting-amount-data-output-file-date-file-getting-too-big-posted-fairhousing#comment-1003514</link>
    <description> &lt;p&gt;thanks a bunch &lt;strong&gt;robp!&lt;/strong&gt; &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;strong&gt;My Site Got Hacked, Check It Out!&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.birminghamnet.com&quot; class=&quot;bb-url&quot;&gt;http://www.birminghamnet.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 02 Nov 1999 22:14:00 +0000</pubDate>
 <dc:creator>fairhousing</dc:creator>
 <guid isPermaLink="false">comment 1003514 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/limiting-amount-data-output-file-date-file-getting-too-big-posted-fairhousing#comment-1003513</link>
    <description> &lt;p&gt;OK,&lt;br /&gt;
  Try incorporating somthing like this into the program:&lt;/p&gt;
&lt;p&gt;$numlog = &amp;quot;numberlogging.txt&amp;quot;;&lt;br /&gt;
$logfile = &amp;quot;logfile.txt&amp;quot;;&lt;/p&gt;
&lt;p&gt;open(numlog,&amp;quot;&amp;lt;$numlog&amp;quot;);&lt;br /&gt;
$num=&amp;lt;numlog&amp;gt;;&lt;br /&gt;
chop($num);&lt;br /&gt;
close(numlog);&lt;/p&gt;
&lt;p&gt;if ($num &amp;lt; 21)&lt;br /&gt;
{&lt;br /&gt;
open(logfile,&amp;quot;&amp;gt;&amp;gt;$logfile&amp;quot;);&lt;br /&gt;
print logfile &amp;quot;$LOG-INFO\n&amp;quot;;&lt;br /&gt;
close(logfile);&lt;br /&gt;
$num++;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;if ($num == 21)&lt;br /&gt;
{&lt;br /&gt;
open(logfile,&amp;quot;&amp;gt;$logfile&amp;quot;);&lt;br /&gt;
print logfile &amp;quot;$LOG-INFO\n&amp;quot;;&lt;br /&gt;
close(logfile);&lt;br /&gt;
$num = 0;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;open(numlog,&amp;quot;&amp;gt;$numlog&amp;quot;);&lt;br /&gt;
print numlog $num;&lt;br /&gt;
close(numlog);&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
[red][Rob P][/red]&lt;br /&gt;
[&lt;a href=&quot;mailto:robp@ureach.com&quot; class=&quot;bb-email&quot;&gt;robp@ureach.com&lt;/a&gt;]--[[icq]16560402[/icq]]&lt;/p&gt;
 </description>
     <pubDate>Mon, 01 Nov 1999 02:20:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1003513 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/limiting-amount-data-output-file-date-file-getting-too-big-posted-fairhousing#comment-1003512</link>
    <description> &lt;p&gt;You could have an extra file that keeps one number, and each time your program is executed, it will open the file, check to see if the number is less 21, and if it is, it will append the logging info to the output file. Than if the number is 21, it will go back to 0, and the new logging info will just ovrwrite all of the old info in the output file. If I get some time today, I will try and write the code, unless someone else can.&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
[red][Rob P][/red]&lt;br /&gt;
[&lt;a href=&quot;mailto:robp@ureach.com&quot; class=&quot;bb-email&quot;&gt;robp@ureach.com&lt;/a&gt;]--[[icq]16560402[/icq]]&lt;/p&gt;
 </description>
     <pubDate>Sun, 31 Oct 1999 03:04:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1003512 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
