<?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 for Ross Tanner</title>
	<atom:link href="http://rosstanner.co.uk/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://rosstanner.co.uk</link>
	<description>Web Developer Gloucestershire</description>
	<lastBuildDate>Fri, 18 May 2012 11:44:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Joomla &#8211; Remove index.php from URL by Sharon</title>
		<link>http://rosstanner.co.uk/2012/02/joomla-remove-index-php-url/#comment-1448</link>
		<dc:creator>Sharon</dc:creator>
		<pubDate>Fri, 18 May 2012 11:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/?p=377#comment-1448</guid>
		<description>Thank you so much for posting this article, I have been looking everywhere on how to remove index.php with no success but your example worked perfectly!</description>
		<content:encoded><![CDATA[<p>Thank you so much for posting this article, I have been looking everywhere on how to remove index.php with no success but your example worked perfectly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Tutorial &#8211; Get your Twitter statuses by Nicola Elvin</title>
		<link>http://rosstanner.co.uk/2012/01/php-tutorial-twitter-statuses/#comment-1423</link>
		<dc:creator>Nicola Elvin</dc:creator>
		<pubDate>Fri, 04 May 2012 17:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/?p=320#comment-1423</guid>
		<description>It only shows up one of my tweets, I am using exactly the same code as you, and I have at least 100 tweets available.</description>
		<content:encoded><![CDATA[<p>It only shows up one of my tweets, I am using exactly the same code as you, and I have at least 100 tweets available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Understanding functions in PHP by Understanding functions in PHP &#124; Ross Tanner - Web 2.0 BLOG &#124; Web 2.0 BLOG</title>
		<link>http://rosstanner.co.uk/2012/05/understanding-functions-in-php/#comment-1417</link>
		<dc:creator>Understanding functions in PHP &#124; Ross Tanner - Web 2.0 BLOG &#124; Web 2.0 BLOG</dc:creator>
		<pubDate>Tue, 01 May 2012 21:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/?p=413#comment-1417</guid>
		<description>[...] here to read the rest: Understanding functions in PHP &#124; Ross Tanner  Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers [...]</description>
		<content:encoded><![CDATA[<p>[...] here to read the rest: Understanding functions in PHP | Ross Tanner  Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Tutorial &#8211; Connect to multiple databases with PHP and MySQL by Ross Tanner</title>
		<link>http://rosstanner.co.uk/2012/01/php-tutorial-connect-multiple-databases-php-mysql/#comment-1416</link>
		<dc:creator>Ross Tanner</dc:creator>
		<pubDate>Tue, 01 May 2012 21:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/?p=302#comment-1416</guid>
		<description>Yes, you could do this. I assume $conn already exists from your other queries but perhaps as a different variable name.

You could then say:

if ( isset ( $conn2 ) &amp;&amp; is_resource ( $conn2 ) ) {
    $db_resource = $conn2;
} else {
    $db_resource = $conn;
}

Your connections would then rely upon $db_resource but this could be one of the two connections, depending on whether or not $conn2 is set. Is that what you meant? So you have 2 active connections but only one is being accessed at a time and you are just switching between them.

Ross</description>
		<content:encoded><![CDATA[<p>Yes, you could do this. I assume $conn already exists from your other queries but perhaps as a different variable name.</p>
<p>You could then say:</p>
<p>if ( isset ( $conn2 ) &#038;&#038; is_resource ( $conn2 ) ) {<br />
    $db_resource = $conn2;<br />
} else {<br />
    $db_resource = $conn;<br />
}</p>
<p>Your connections would then rely upon $db_resource but this could be one of the two connections, depending on whether or not $conn2 is set. Is that what you meant? So you have 2 active connections but only one is being accessed at a time and you are just switching between them.</p>
<p>Ross</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The &#8216;Your SIM card has a name&#8217; Facebook trick by khalil</title>
		<link>http://rosstanner.co.uk/2012/01/the-your-sim-card-has-a-name-facebook-trick/#comment-1413</link>
		<dc:creator>khalil</dc:creator>
		<pubDate>Sat, 28 Apr 2012 10:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/?p=345#comment-1413</guid>
		<description>@[281:0]</description>
		<content:encoded><![CDATA[<p>@[281:0]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Tutorial &#8211; Connect to multiple databases with PHP and MySQL by Tw</title>
		<link>http://rosstanner.co.uk/2012/01/php-tutorial-connect-multiple-databases-php-mysql/#comment-1411</link>
		<dc:creator>Tw</dc:creator>
		<pubDate>Sun, 22 Apr 2012 16:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/?p=302#comment-1411</guid>
		<description>This is great but is there a way to have the first connection without the $conn ? I want to add the second connection to an already written script that has lots of querys already but I still need lots of querys from the second database. I was thinking of some kind of if statement to see if there is a $conn2 defined if there is then use database 2 in my generic class, if not then carry on and use the default db connection.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>This is great but is there a way to have the first connection without the $conn ? I want to add the second connection to an already written script that has lots of querys already but I still need lots of querys from the second database. I was thinking of some kind of if statement to see if there is a $conn2 defined if there is then use database 2 in my generic class, if not then carry on and use the default db connection.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hire Me by David Abingdon</title>
		<link>http://rosstanner.co.uk/hire-me-6/#comment-1396</link>
		<dc:creator>David Abingdon</dc:creator>
		<pubDate>Wed, 04 Apr 2012 15:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/hire-me-6/#comment-1396</guid>
		<description>Ross, 

Please contact me asap on 07860 433328. I have some PHP work that needs doing, perhaps you can help?

Cheers,

David Abingdon</description>
		<content:encoded><![CDATA[<p>Ross, </p>
<p>Please contact me asap on 07860 433328. I have some PHP work that needs doing, perhaps you can help?</p>
<p>Cheers,</p>
<p>David Abingdon</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on User Membership System Part 1: Registration by Ross Tanner</title>
		<link>http://rosstanner.co.uk/2011/03/user-membership-system-part-1-registration/#comment-1380</link>
		<dc:creator>Ross Tanner</dc:creator>
		<pubDate>Fri, 23 Mar 2012 18:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/?p=53#comment-1380</guid>
		<description>Thanks for your comment Adam. SHA1 is indeed more secure than MD5 but for those looking to take it to the next level I strongly advise using salts to add that extra level of security. 

Even SHA1 has proven to have its downsides so I guess it really depends on the type of system the user registration is intended for. It is a tutorial however and not a final system so as you say, bear this in mind when turning to production.</description>
		<content:encoded><![CDATA[<p>Thanks for your comment Adam. SHA1 is indeed more secure than MD5 but for those looking to take it to the next level I strongly advise using salts to add that extra level of security. </p>
<p>Even SHA1 has proven to have its downsides so I guess it really depends on the type of system the user registration is intended for. It is a tutorial however and not a final system so as you say, bear this in mind when turning to production.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on User Membership System Part 1: Registration by AdamAlicki</title>
		<link>http://rosstanner.co.uk/2011/03/user-membership-system-part-1-registration/#comment-1378</link>
		<dc:creator>AdamAlicki</dc:creator>
		<pubDate>Thu, 22 Mar 2012 19:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/?p=53#comment-1378</guid>
		<description>As per the MD5 issue, you can replace it with SHA1, which would look like sha1($var);

Decent tutorial overall, Ross. Might prove to be a good starting point for beginners, or as you mentioned, those looking for a refresher / how-to.</description>
		<content:encoded><![CDATA[<p>As per the MD5 issue, you can replace it with SHA1, which would look like sha1($var);</p>
<p>Decent tutorial overall, Ross. Might prove to be a good starting point for beginners, or as you mentioned, those looking for a refresher / how-to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Joomla &#8211; Remove index.php from URL by Muhabas</title>
		<link>http://rosstanner.co.uk/2012/02/joomla-remove-index-php-url/#comment-1376</link>
		<dc:creator>Muhabas</dc:creator>
		<pubDate>Tue, 20 Mar 2012 17:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://rosstanner.co.uk/?p=377#comment-1376</guid>
		<description>Spent a lot of time but this tread works for me! Thanks for  providing the solution in detials.</description>
		<content:encoded><![CDATA[<p>Spent a lot of time but this tread works for me! Thanks for  providing the solution in detials.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

