<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Counters in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034835#M76093</link>
    <description>What is a few lines of Code to get a Hit Counter going ? Thanks&lt;BR /&gt;&lt;BR /&gt;Kyle</description>
    <pubDate>Mon, 28 Jul 2003 10:54:12 GMT</pubDate>
    <dc:creator>Kyle D. Harris</dc:creator>
    <dc:date>2003-07-28T10:54:12Z</dc:date>
    <item>
      <title>Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034835#M76093</link>
      <description>What is a few lines of Code to get a Hit Counter going ? Thanks&lt;BR /&gt;&lt;BR /&gt;Kyle</description>
      <pubDate>Mon, 28 Jul 2003 10:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034835#M76093</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2003-07-28T10:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034836#M76094</link>
      <description>Hi Kyle,&lt;BR /&gt;&lt;BR /&gt;Hit for what ? Web site ? In php ?&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 28 Jul 2003 10:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034836#M76094</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-07-28T10:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034837#M76095</link>
      <description>Jerome,&lt;BR /&gt;  Yes we have a program that throws data reports and puts them on a web page. I'd like to see how many people access this page. Currently the counter going now has this code: &lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://counter.digits.com/wc/-d/4/mike12344321" align="center&amp;lt;BR" /&gt;      WIDTH=60 HEIGHT=20 BORDER=0 HSPACE=4 VSPACE=2&amp;gt;&lt;BR /&gt;&lt;BR /&gt;-------&lt;BR /&gt;&lt;BR /&gt;I'd like to get it back to Zero, but I don't see how to set it back to Zero. Thanks&lt;BR /&gt;&lt;BR /&gt;Kyle</description>
      <pubDate>Mon, 28 Jul 2003 11:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034837#M76095</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2003-07-28T11:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034838#M76096</link>
      <description>The sites the provide web counters give the way to erase them. Usually you need to login somewhere in their home page, insert username and password and they show up a menu to control your counters.&lt;BR /&gt;Try searching for instructions in you web-counter provider site.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;Claudio</description>
      <pubDate>Mon, 28 Jul 2003 11:08:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034838#M76096</guid>
      <dc:creator>Claudio Cilloni</dc:creator>
      <dc:date>2003-07-28T11:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034839#M76097</link>
      <description>Well,&lt;BR /&gt;&lt;BR /&gt;AS you are not controlling the variables used to increment the counter, digits.com does, then you have to ask them to reset it to 0, or do it from your control panel in their site. It's explained at :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.digits.com/faq.html#Change" target="_blank"&gt;http://www.digits.com/faq.html#Change&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Use this access page, you should be able to do it from there :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.digits.com/change.html" target="_blank"&gt;http://www.digits.com/change.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 28 Jul 2003 11:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034839#M76097</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-07-28T11:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034840#M76098</link>
      <description>attaching a perl script for an invisible counter.&lt;BR /&gt;&lt;BR /&gt;Easily inserted into a web pag.&lt;BR /&gt;&lt;BR /&gt;This is for your referece though you could display the results as well.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 28 Jul 2003 11:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034840#M76098</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-28T11:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034841#M76099</link>
      <description>$filename="count.txt";&lt;BR /&gt;        $FP = fopen ($filename,'r') or exit("unable to open counter file");&lt;BR /&gt;        $count = (int) fread ($FP, filesize($filename));&lt;BR /&gt;        fclose($FP);&lt;BR /&gt;&lt;BR /&gt;        $FP = fopen($filename,'w+') or exit("unable to open counter file");&lt;BR /&gt;        echo "Count is $count";&lt;BR /&gt;        ++$count;&lt;BR /&gt;        echo "Count is $count";&lt;BR /&gt;        if(!fwrite($FP, $count)) {&lt;BR /&gt;                exit("unable to write to counter file");&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;a small php file.&lt;BR /&gt;&lt;BR /&gt;to make this work, do this first.&lt;BR /&gt;&lt;BR /&gt;echo 0 &amp;gt; count.txt&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Mon, 28 Jul 2003 11:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034841#M76099</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-07-28T11:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034842#M76100</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;The only problem with the code of Balaji&lt;BR /&gt;is that if you will have two requests in&lt;BR /&gt;the same time than you will have problem.&lt;BR /&gt;What you need to do is also add a ability&lt;BR /&gt;when you work on the file to do a lock that&lt;BR /&gt;the other will wait.&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Mon, 28 Jul 2003 19:19:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034842#M76100</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-07-28T19:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034843#M76101</link>
      <description>If you use apache it has built in web statistic tools.</description>
      <pubDate>Tue, 29 Jul 2003 10:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034843#M76101</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2003-07-29T10:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Counters</title>
      <link>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034844#M76102</link>
      <description>if you want a pretty graph from your http access log file, then go for webalizer.&lt;BR /&gt;-balaji</description>
      <pubDate>Tue, 29 Jul 2003 15:42:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/counters/m-p/3034844#M76102</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-07-29T15:42:28Z</dc:date>
    </item>
  </channel>
</rss>

