<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for James Caws</title>
	
	<link>http://www.jamescaws.com</link>
	<description>PHP web developer // Melbourne, AU</description>
	<lastBuildDate>Mon, 09 Nov 2009 19:52:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jamescaws-comments" /><feedburner:info uri="jamescaws-comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on The multiple Xterm feel in Windows with PuTTY and WinTabber by selva</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/7lWNhtOZnaY/</link>
		<dc:creator>selva</dc:creator>
		<pubDate>Mon, 09 Nov 2009 19:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.co.uk/?p=154#comment-852</guid>
		<description>A fantastic article to solve my Putty woes. Was using puttycm ,but the Putty System menu will not open most of the times . WinTabber is cool that it will allow me to stack all my related heterogenous application windows ( putty,firefox for example) into one single window.</description>
		<content:encoded><![CDATA[<p>A fantastic article to solve my Putty woes. Was using puttycm ,but the Putty System menu will not open most of the times . WinTabber is cool that it will allow me to stack all my related heterogenous application windows ( putty,firefox for example) into one single window.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/CAW7ZLG6GdC9EjhVrdtUxbF7pgI/0/da"><img src="http://feedads.g.doubleclick.net/~a/CAW7ZLG6GdC9EjhVrdtUxbF7pgI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/CAW7ZLG6GdC9EjhVrdtUxbF7pgI/1/da"><img src="http://feedads.g.doubleclick.net/~a/CAW7ZLG6GdC9EjhVrdtUxbF7pgI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/7lWNhtOZnaY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2009/05/multiple-xterm-feel-in-windows-with-putty-and-wintabber/comment-page-1/#comment-852</feedburner:origLink></item>
	<item>
		<title>Comment on Dynamically count exit link click-throughs using JavaScript and PHP by James</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/v-WYBTiddN0/</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sat, 03 Oct 2009 01:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.co.uk/?p=51#comment-851</guid>
		<description>The script provided does not provide that option as standard, but how you edit it and use the data that gets stored is up to you.</description>
		<content:encoded><![CDATA[<p>The script provided does not provide that option as standard, but how you edit it and use the data that gets stored is up to you.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/DYuhX_tr32a3Stx944KOnUm9nB0/0/da"><img src="http://feedads.g.doubleclick.net/~a/DYuhX_tr32a3Stx944KOnUm9nB0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DYuhX_tr32a3Stx944KOnUm9nB0/1/da"><img src="http://feedads.g.doubleclick.net/~a/DYuhX_tr32a3Stx944KOnUm9nB0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/v-WYBTiddN0" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2008/07/dynamically-count-exit-link-clicks-throughs-using-javascript-php/comment-page-1/#comment-851</feedburner:origLink></item>
	<item>
		<title>Comment on Dynamically count exit link click-throughs using JavaScript and PHP by Pliggs</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/k6pQnrFlKAs/</link>
		<dc:creator>Pliggs</dc:creator>
		<pubDate>Sun, 06 Sep 2009 02:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.co.uk/?p=51#comment-848</guid>
		<description>Is there a way to have it display the count next to the link?</description>
		<content:encoded><![CDATA[<p>Is there a way to have it display the count next to the link?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/6i_wku7vxEFteCjysFLGyQhSBeE/0/da"><img src="http://feedads.g.doubleclick.net/~a/6i_wku7vxEFteCjysFLGyQhSBeE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/6i_wku7vxEFteCjysFLGyQhSBeE/1/da"><img src="http://feedads.g.doubleclick.net/~a/6i_wku7vxEFteCjysFLGyQhSBeE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/k6pQnrFlKAs" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2008/07/dynamically-count-exit-link-clicks-throughs-using-javascript-php/comment-page-1/#comment-848</feedburner:origLink></item>
	<item>
		<title>Comment on Guardian Camera Club: portraiture preserving anonymity critique by Stephen</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/475zzimkbRg/</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Sun, 16 Aug 2009 12:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.com/?p=243#comment-843</guid>
		<description>Congratulations! Very cool to get feedback from the pros. Now I'm really inspired.</description>
		<content:encoded><![CDATA[<p>Congratulations! Very cool to get feedback from the pros. Now I&#8217;m really inspired.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/9bVDxcIk3j9X4mOYYhqW1-Me1iA/0/da"><img src="http://feedads.g.doubleclick.net/~a/9bVDxcIk3j9X4mOYYhqW1-Me1iA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9bVDxcIk3j9X4mOYYhqW1-Me1iA/1/da"><img src="http://feedads.g.doubleclick.net/~a/9bVDxcIk3j9X4mOYYhqW1-Me1iA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/475zzimkbRg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2009/08/guardian-camera-club-portraiture-preserving-anonymity-critique/comment-page-1/#comment-843</feedburner:origLink></item>
	<item>
		<title>Comment on Creating scripts that check user is registered in Wordpress DB by Sandino</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/yn7Mg_n9RMs/</link>
		<dc:creator>Sandino</dc:creator>
		<pubDate>Wed, 12 Aug 2009 14:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.co.uk/?p=135#comment-842</guid>
		<description>James:

It worked!!!! Thanks a lot for your help!</description>
		<content:encoded><![CDATA[<p>James:</p>
<p>It worked!!!! Thanks a lot for your help!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/W2pHQJpa_MnObPoPEyIj_GwQw3g/0/da"><img src="http://feedads.g.doubleclick.net/~a/W2pHQJpa_MnObPoPEyIj_GwQw3g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/W2pHQJpa_MnObPoPEyIj_GwQw3g/1/da"><img src="http://feedads.g.doubleclick.net/~a/W2pHQJpa_MnObPoPEyIj_GwQw3g/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/yn7Mg_n9RMs" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2008/10/creating-scripts-that-check-user-registered-in-wordpress-db/comment-page-1/#comment-842</feedburner:origLink></item>
	<item>
		<title>Comment on Creating scripts that check user is registered in Wordpress DB by James</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/CEPiN8Fayek/</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 28 Jul 2009 08:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.co.uk/?p=135#comment-839</guid>
		<description>Hi Sandino,

I'm sorry you are having difficulties. I have revisited this using the latest version of Wordpress (2.8.2 at time of writing) and have not had any problems.

&lt;pre&gt;&lt;?php

init();

global $current_user;
get_currentuserinfo();

if (is_user_logged_in()) { echo sprintf('YES -- %s', print_r($current_user, 1)); } else { echo 'NO'; }

?&gt;&lt;/pre&gt;

Check what version of WP you are using and adjust your code depending on that. This post contains solutions for both pre 2.7 and post 2.7.

Another thing to try is looking at your cookies. I have not investigated this and you have not mentioned what directories you are using, but if you run Wordpress at /myblog/ for example, the login cookie is more than likely being set for /myblog/*, so if you run a script at /myotherscript/, it is likely that the WP code included will not have access to any cookie. To fix that I guess you will need the &lt;em&gt;root Cookie Path&lt;/em&gt; plugin at http://wordpress.org/extend/plugins/root-cookie/.</description>
		<content:encoded><![CDATA[<p>Hi Sandino,</p>
<p>I&#8217;m sorry you are having difficulties. I have revisited this using the latest version of Wordpress (2.8.2 at time of writing) and have not had any problems.</p>
<pre>&lt;?php

init();

global $current_user;
get_currentuserinfo();

if (is_user_logged_in()) { echo sprintf('YES -- %s', print_r($current_user, 1)); } else { echo 'NO'; }

?&gt;</pre>
<p>Check what version of WP you are using and adjust your code depending on that. This post contains solutions for both pre 2.7 and post 2.7.</p>
<p>Another thing to try is looking at your cookies. I have not investigated this and you have not mentioned what directories you are using, but if you run Wordpress at /myblog/ for example, the login cookie is more than likely being set for /myblog/*, so if you run a script at /myotherscript/, it is likely that the WP code included will not have access to any cookie. To fix that I guess you will need the <em>root Cookie Path</em> plugin at <a href="http://wordpress.org/extend/plugins/root-cookie/" rel="nofollow">http://wordpress.org/extend/plugins/root-cookie/</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/X6rFQ2mpOlu9Hg1uDkwEg5pNsPA/0/da"><img src="http://feedads.g.doubleclick.net/~a/X6rFQ2mpOlu9Hg1uDkwEg5pNsPA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/X6rFQ2mpOlu9Hg1uDkwEg5pNsPA/1/da"><img src="http://feedads.g.doubleclick.net/~a/X6rFQ2mpOlu9Hg1uDkwEg5pNsPA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/CEPiN8Fayek" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2008/10/creating-scripts-that-check-user-registered-in-wordpress-db/comment-page-1/#comment-839</feedburner:origLink></item>
	<item>
		<title>Comment on Fancy trying your hand at becoming a photojournalist? by Stephen</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/Ft6fTmnFOJo/</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Tue, 28 Jul 2009 06:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.com/?p=234#comment-838</guid>
		<description>This sounds really interesting. I'm definitely going to give it a go. Being a solo amateur photographer can get lonely - this is a great way to learn from others.</description>
		<content:encoded><![CDATA[<p>This sounds really interesting. I&#8217;m definitely going to give it a go. Being a solo amateur photographer can get lonely &#8211; this is a great way to learn from others.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Q847PzEwOUpTcweMwyn_02OiSo4/0/da"><img src="http://feedads.g.doubleclick.net/~a/Q847PzEwOUpTcweMwyn_02OiSo4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Q847PzEwOUpTcweMwyn_02OiSo4/1/da"><img src="http://feedads.g.doubleclick.net/~a/Q847PzEwOUpTcweMwyn_02OiSo4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/Ft6fTmnFOJo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2009/06/try-your-hand-at-becoming-photojournalist/comment-page-1/#comment-838</feedburner:origLink></item>
	<item>
		<title>Comment on Creating scripts that check user is registered in Wordpress DB by Sandino</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/m9DOitOMes4/</link>
		<dc:creator>Sandino</dc:creator>
		<pubDate>Tue, 21 Jul 2009 19:48:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.co.uk/?p=135#comment-836</guid>
		<description>Hi James and Mike,

I could not make it works!!!....

if I put my page.php on the same directory that my blog it works but if not it 
does not realize that I am logued on wordpress...

Any idea what is going on ???...the wp-load.php is included with success but the function 
is_user_logged_in() works for me only if my page.php is on the same directory my blog...

Thanks...

Sandino.
Montevideo - Uruguay</description>
		<content:encoded><![CDATA[<p>Hi James and Mike,</p>
<p>I could not make it works!!!&#8230;.</p>
<p>if I put my page.php on the same directory that my blog it works but if not it<br />
does not realize that I am logued on wordpress&#8230;</p>
<p>Any idea what is going on ???&#8230;the wp-load.php is included with success but the function<br />
is_user_logged_in() works for me only if my page.php is on the same directory my blog&#8230;</p>
<p>Thanks&#8230;</p>
<p>Sandino.<br />
Montevideo &#8211; Uruguay</p>

<p><a href="http://feedads.g.doubleclick.net/~a/qHP-Y_kXjWUp2EN8FMdLVELIC_w/0/da"><img src="http://feedads.g.doubleclick.net/~a/qHP-Y_kXjWUp2EN8FMdLVELIC_w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qHP-Y_kXjWUp2EN8FMdLVELIC_w/1/da"><img src="http://feedads.g.doubleclick.net/~a/qHP-Y_kXjWUp2EN8FMdLVELIC_w/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/m9DOitOMes4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2008/10/creating-scripts-that-check-user-registered-in-wordpress-db/comment-page-1/#comment-836</feedburner:origLink></item>
	<item>
		<title>Comment on Automatically monitor and email PHP error log content by Automatically monitor and email PHP error log content | Errors &amp; Geeks</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/R5qPpm8ypvI/</link>
		<dc:creator>Automatically monitor and email PHP error log content | Errors &amp; Geeks</dc:creator>
		<pubDate>Mon, 29 Jun 2009 15:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.co.uk/?p=32#comment-747</guid>
		<description>[...] the original here: Automatically monitor and email PHP error log content Tags: photography, PHP, [...]</description>
		<content:encoded><![CDATA[<p>[...] the original here: Automatically monitor and email PHP error log content Tags: photography, PHP, [...]</p>

<p><a href="http://feedads.g.doubleclick.net/~a/dfQgnI-_63DVwcFEC0fZC-M7baI/0/da"><img src="http://feedads.g.doubleclick.net/~a/dfQgnI-_63DVwcFEC0fZC-M7baI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/dfQgnI-_63DVwcFEC0fZC-M7baI/1/da"><img src="http://feedads.g.doubleclick.net/~a/dfQgnI-_63DVwcFEC0fZC-M7baI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/R5qPpm8ypvI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2008/07/automatically-email-php-error-log-content/comment-page-1/#comment-747</feedburner:origLink></item>
	<item>
		<title>Comment on Generating RSS feeds from static HTML web pages by Static job listing page to RSS feed</title>
		<link>http://feedproxy.google.com/~r/jamescaws-comments/~3/KXu9yeQ3obY/</link>
		<dc:creator>Static job listing page to RSS feed</dc:creator>
		<pubDate>Mon, 29 Jun 2009 06:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamescaws.co.uk/?p=31#comment-746</guid>
		<description>[...] under a year ago I wrote about three websites that allowed users to generate RSS feeds from static web pages. The most promising provider looked like Feed43, however I never really gave it a thorough test. [...]</description>
		<content:encoded><![CDATA[<p>[...] under a year ago I wrote about three websites that allowed users to generate RSS feeds from static web pages. The most promising provider looked like Feed43, however I never really gave it a thorough test. [...]</p>

<p><a href="http://feedads.g.doubleclick.net/~a/EhsieyY4H01X8kIaUUCxonJK4o8/0/da"><img src="http://feedads.g.doubleclick.net/~a/EhsieyY4H01X8kIaUUCxonJK4o8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/EhsieyY4H01X8kIaUUCxonJK4o8/1/da"><img src="http://feedads.g.doubleclick.net/~a/EhsieyY4H01X8kIaUUCxonJK4o8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/jamescaws-comments/~4/KXu9yeQ3obY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.jamescaws.com/2008/07/generating-rss-feeds-from-static-html-web-pages/comment-page-1/#comment-746</feedburner:origLink></item>
</channel>
</rss>
