<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>World Portal &#187; Add webcounter to PHP code</title>
	<atom:link href="http://www.aimsgraz.org/2009/11/add-webcounter-to-php-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aimsgraz.org</link>
	<description>Internet News, Sport and Updates</description>
	<lastBuildDate>Tue, 16 Mar 2010 06:16:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Add webcounter to PHP code</title>
		<link>http://www.aimsgraz.org/2009/11/add-webcounter-to-php-code/</link>
		<comments>http://www.aimsgraz.org/2009/11/add-webcounter-to-php-code/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 13:12:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.aimsgraz.org/?p=510</guid>
		<description><![CDATA[I recently needed to add my web stats counter (statcounter) to a bunch of PHP code. It was for a new web link directory I am setting up; but I know very little about coding and certainly couldn&#8217;t get my html code inserted into the PHP code.
Fortunately, I did a quick search and found that [...]<p><a href="http://www.aimsgraz.org/2009/11/add-webcounter-to-php-code/">Add webcounter to PHP code</a> is a post from: <a href="http://www.aimsgraz.org">World Portal</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I recently needed to add my web stats counter (statcounter) to a bunch of PHP code. It was for a new web link directory I am setting up; but I know very little about coding and certainly couldn&#8217;t get my html code inserted into the PHP code.</p>
<p>Fortunately, I did a quick search and found that the simplest way to call HTML code into a PHP set of pages is by doing an &#8216;include&#8217;.</p>
<p>Ok here goes &#8211; whether your using statcounter or google analytics; you need to insert the following code into your main (generally index.php) of the site:</p>
<p><strong>&lt;?<br />
include(&#8220;mycode.html&#8221;);<br />
?&gt; </strong></p>
<p><strong>Then, create (using notepad, then upload it)<br />
</strong></p>
<p><strong>mycode.html (in your hosting directory)<br />
</strong></p>
<p>Now, simply create a html file in your website hosting directory called mycode.html and add in the statcounter or any HTML code you want. Its that simple!</p>
<p>Further references and details on doing this at the following websites:</p>
<p><span style="color: #ff0000;">(How to call HTML code into PHP websites)</span></p>
<p><strong>http://www.vbulletin.com/forum/showthread.php?16662-How-to-call-php-in-html-page</strong></p>
<p><strong>Best of luck.<br />
</strong></p>
<p><a href="http://www.aimsgraz.org/2009/11/add-webcounter-to-php-code/">Add webcounter to PHP code</a> is a post from: <a href="http://www.aimsgraz.org">World Portal</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aimsgraz.org/2009/11/add-webcounter-to-php-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
