<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Hiding Links With PHP and Counting Clicks with MySQL</title>
	<atom:link href="http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/</link>
	<description></description>
	<lastBuildDate>Fri, 27 Aug 2010 13:25:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Smart Blogging</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-39745</link>
		<dc:creator>Smart Blogging</dc:creator>
		<pubDate>Sun, 06 Jun 2010 08:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-39745</guid>
		<description>thanks for you advice and your share</description>
		<content:encoded><![CDATA[<p>thanks for you advice and your share</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prepaid</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-38938</link>
		<dc:creator>Prepaid</dc:creator>
		<pubDate>Sun, 21 Mar 2010 17:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-38938</guid>
		<description>Going to give it a try. Thanks for the howto.</description>
		<content:encoded><![CDATA[<p>Going to give it a try. Thanks for the howto.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Brown</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-37782</link>
		<dc:creator>Fred Brown</dc:creator>
		<pubDate>Thu, 14 Jan 2010 08:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-37782</guid>
		<description>Hi Stephan,

Thanks for adding to this awesome code and Studge thanks for sharing!!

I have tried your suggestion but can&#039;t get it to work.  I have changed to code to read:
---------------
    &quot;wikipedia&quot; =&gt; &quot;http://wikipedia.org&quot;
    );

  header( “HTTP/1.1 301 Moved Permanently” );
  header(&quot;Location:&quot;.$links[$id]);
  exit;
?&gt;
---------------

What have I missed?


Thanks
Fred</description>
		<content:encoded><![CDATA[<p>Hi Stephan,</p>
<p>Thanks for adding to this awesome code and Studge thanks for sharing!!</p>
<p>I have tried your suggestion but can&#8217;t get it to work.  I have changed to code to read:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;<br />
    &#8220;wikipedia&#8221; =&gt; &#8220;http://wikipedia.org&#8221;<br />
    );</p>
<p>  header( “HTTP/1.1 301 Moved Permanently” );<br />
  header(&#8220;Location:&#8221;.$links[$id]);<br />
  exit;<br />
?&gt;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>What have I missed?</p>
<p>Thanks<br />
Fred</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: London</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-36303</link>
		<dc:creator>London</dc:creator>
		<pubDate>Sun, 25 Oct 2009 19:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-36303</guid>
		<description>The lastet update is that google can follow links over php header links.

On one of my websites i have just changed my redirect script that i have used over years to a javascript version loaded inside a noindex, nofollow page.



the linkedsite.com will get backlink juice...

now..



Redirect to 







&lt;!--
window.location = &quot;http://&quot;;
//--&gt;




</description>
		<content:encoded><![CDATA[<p>The lastet update is that google can follow links over php header links.</p>
<p>On one of my websites i have just changed my redirect script that i have used over years to a javascript version loaded inside a noindex, nofollow page.</p>
<p>the linkedsite.com will get backlink juice&#8230;</p>
<p>now..</p>
<p>Redirect to </p>
<p>&lt;!&#8211;<br />
window.location = &quot;http://&#8221;;<br />
//&#8211;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: black</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-36297</link>
		<dc:creator>black</dc:creator>
		<pubDate>Sun, 25 Oct 2009 05:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-36297</guid>
		<description>thanks for the clear explanation you are awesome!</description>
		<content:encoded><![CDATA[<p>thanks for the clear explanation you are awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Studge</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-36247</link>
		<dc:creator>Studge</dc:creator>
		<pubDate>Wed, 21 Oct 2009 13:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-36247</guid>
		<description>I think I understand what you are saying here.  When the affiliate link is followed, it should set a cookie that shows my affiliate code has brought this user to their site - the cookie lasts a set amount of time and any purchases made during this period would yield me a percentage (this is just an example of a typical affiliate system).  After the link is already followed, it doesn&#039;t really matter what the user puts in the address bar since the cookie has been set.</description>
		<content:encoded><![CDATA[<p>I think I understand what you are saying here.  When the affiliate link is followed, it should set a cookie that shows my affiliate code has brought this user to their site &#8211; the cookie lasts a set amount of time and any purchases made during this period would yield me a percentage (this is just an example of a typical affiliate system).  After the link is already followed, it doesn&#8217;t really matter what the user puts in the address bar since the cookie has been set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clinton</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-36246</link>
		<dc:creator>Clinton</dc:creator>
		<pubDate>Wed, 21 Oct 2009 12:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-36246</guid>
		<description>I&#039;m not sure of how affiliate links work but the php code here basically puts a link inside the url bar of your browser. i.e the link that you click on will say www.mydomain.com/advert.php?ad=1 and then when you click it the browser url will show www.someaffiliateprogram.com/affid=12345.  If the user wants to remove this all he really needs to do is remove the affid=12345 in the url and hit enter.  If i&#039;m mistaken can someone please set me straight.

Thanks
Clinton</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure of how affiliate links work but the php code here basically puts a link inside the url bar of your browser. i.e the link that you click on will say <a href="http://www.mydomain.com/advert.php?ad=1" rel="nofollow">http://www.mydomain.com/advert.php?ad=1</a> and then when you click it the browser url will show <a href="http://www.someaffiliateprogram.com/affid=12345" rel="nofollow">http://www.someaffiliateprogram.com/affid=12345</a>.  If the user wants to remove this all he really needs to do is remove the affid=12345 in the url and hit enter.  If i&#8217;m mistaken can someone please set me straight.</p>
<p>Thanks<br />
Clinton</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-36008</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 08 Oct 2009 16:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-36008</guid>
		<description>I may have missed this, but is it possible to tweak the code to have it count only unique clicks? I&#039;d like to use the script to power a number of &quot;Like&quot; buttons on our pages, but I don&#039;t want people to be able to artificially drive up the scores.</description>
		<content:encoded><![CDATA[<p>I may have missed this, but is it possible to tweak the code to have it count only unique clicks? I&#8217;d like to use the script to power a number of &#8220;Like&#8221; buttons on our pages, but I don&#8217;t want people to be able to artificially drive up the scores.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Free Templates</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-35519</link>
		<dc:creator>Free Templates</dc:creator>
		<pubDate>Fri, 11 Sep 2009 16:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-35519</guid>
		<description>Thank you for this great script! This is what I need!</description>
		<content:encoded><![CDATA[<p>Thank you for this great script! This is what I need!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/comment-page-1/#comment-34777</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 04 Aug 2009 17:28:11 +0000</pubDate>
		<guid isPermaLink="false">http://studge.com/hiding-links-with-php-and-counting-clicks-with-mysql/#comment-34777</guid>
		<description>Thanks! Came up 2nd result on google when searching &quot;php redirect script count clicks&quot; this is exactly what I needed.</description>
		<content:encoded><![CDATA[<p>Thanks! Came up 2nd result on google when searching &#8220;php redirect script count clicks&#8221; this is exactly what I needed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.260 seconds -->
