<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Daily Counter 1.1 PHP Installation"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Daily Counter 1.1 PHP Installation"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Daily Counter 1.1 PHP Installation</title>
				<description><![CDATA[ Read-me - Installation for Daily Counter 1.1 <br /> (Does Not Include MySQL set-up Instructions)<br /> <br /> 1) Create a directory folder on your webserver/website for the daily counter<br /> <br /> 2) Edit config.inc.php<br />    a) If using MySQL database - change this line<br /> [code] $COUNT_CFG&#91;&quot;use_db&quot;&#93;     = true; <br /> [/code]<br />         <br />    b) If using Flat Files - leave this line<br /> [code] $COUNT_CFG&#91;&quot;use_db&quot;&#93;     = false;<br /> [/code] <br />         <br />    c) Edit the following lines if needed<br /> [code] $COUNT_CFG&#91;&quot;block_time&quot;&#93; = 1800; <br />     /* # of seconds  3600=1hr 5400=1.5hr 7200=2hr */<br /> $COUNT_CFG&#91;&quot;offset&quot;&#93;     = -2; //adjust for your time<br /> [/code]<br />         <br />    d) Add this information only if using MySQL<br /> [code] $COUNT_DB&#91;&quot;dbName&quot;&#93; = &quot;Name_of_your_db&quot;;<br /> $COUNT_DB&#91;&quot;host&quot;&#93;   = &quot;localhost&quot;; <br />      // Can normally remain as localhost<br /> $COUNT_DB&#91;&quot;user&quot;&#93;   = &quot;ID_for_Acess2db&quot;;<br /> $COUNT_DB&#91;&quot;pass&quot;&#93;   = &quot;Password&quot;;<br /> [/code]<br /> <br /> 3) Upload the following files into that new directory:<br /> <br />     config.inc.php<br />     counter.class.php<br />     demo.php<br />     visitor.php (CHMOD 755)<br /> <br /> + upload the following if using flat files for records<br />     daily.txt  (CHMOD 666)<br />     total_visits.txt  (CHMOD 666)<br />     ip.txt  (CHMOD 666)<br /> <br /> OR upload the following if using MySQL for records<br />     create_tbl.php<br />     mysql.class.php<br />  <br /> 4) Visit your demo page to check for functioning<br /> [code] http&#58;//www.mysite.com/counter_dir/demo.php<br /> [/code]<br />  <br />  5) To pull the counter into your pages, you will need to use pages with .php extensions  (or check for the Mods I have posted on the forum for html pages)<br />  <br />  6) Include the following code into the very top of your pages that you want the daily counter to show up (Look at how the demo.php is set up for a visual example)<br />  <br /> [code]  &lt;?php<br />     include &#40;&quot;./counter_dir/config.inc.php&quot;&#41;;<br />     if &#40;$COUNT_CFG&#91;'use_db'&#93;&#41; &#123;<br />        include &#40;&quot;./counter_dir/mysql.class.php&quot;&#41;;<br />     &#125;<br />       include &#40;&quot;./counter_dir/counter.class.php&quot;&#41;;<br />    $counter = new dcounter&#40;&#41;;<br />    $visits = $counter-&gt;show_counter&#40;&#41;;  <br />          /* Returns an associative array */     <br />     echo $visits&#91;'total'&#93;;<br />     echo $visits&#91;'visits_today'&#93;;<br /> ?&gt;<br /> [/code]<br />     <br /> 7) Include the following into your pages where you want<br />  the daily counter to be displayed: (Use the Demo Page as your example<br /> <br />  [code]&lt;font face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;1&quot;&gt;<br />   &lt;?php echo date&#40;&quot;D, j F Y&quot;&#41;; ?&gt;<br />   &lt;br&gt;&lt;br&gt;<br />   Total Visits&#58; &lt;?php echo $visits&#91;'total'&#93;; ?&gt;<br />   &lt;br&gt;<br />   &lt;b&gt;&lt;a href=&quot;javascript&#58;void&#40;window.open&#40;'visitors.php','Visitors','scrollbars=yes,width=420,height=210'&#41;&#41;&quot; class=&quot;links&quot;&gt;Visitors&lt;/a&gt; today&#58; &lt;font color=&quot;#CC0066&quot;&gt;<br />   &lt;?php echo $visits&#91;'visits_today'&#93;; ?&gt;&lt;/font&gt;&lt;/b&gt;<br /> [/code] <br /> <br /> Use the Search Engine to check the forum for Daily Counter Modifications]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4284/14438.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4284/14438.php</link>
				<pubDate><![CDATA[Fri, 18 Feb 2005 21:57:27]]> GMT</pubDate>
				<author><![CDATA[ ET]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hello<br /> Where can i fund the mod for html pages?<br /> I search for it but not found it can you plz show me ..]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4284/20963.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4284/20963.php</link>
				<pubDate><![CDATA[Mon, 24 Jul 2006 14:17:59]]> GMT</pubDate>
				<author><![CDATA[ hypz]]></author>
			</item>
	</channel>
</rss>