<?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: Validating a Credit Card</title>
	<atom:link href="http://www.ashworthconsulting.com/scripts-code/php/validating-a-credit-card.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ashworthconsulting.com/scripts-code/php/validating-a-credit-card.html</link>
	<description>Web Development &#38; Hosting Solutions in Portland, OR &#38; Vancouver, WA</description>
	<lastBuildDate>Thu, 01 Jul 2010 18:32:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Zach</title>
		<link>http://www.ashworthconsulting.com/scripts-code/php/validating-a-credit-card.html/comment-page-1#comment-78</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Mon, 08 Feb 2010 12:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashworthconsulting.com/?p=214#comment-78</guid>
		<description>The code could probably be probably be more library-ized to say that:

if (is_cc($_POST[&#039;cc&#039;], CC_VISA)) {
  // sweet, we take that, and it&#039;s valid
  do_visa_stuff($_POST[&#039;cc&#039;]);
}</description>
		<content:encoded><![CDATA[<p>The code could probably be probably be more library-ized to say that:</p>
<p>if (is_cc($_POST['cc'], CC_VISA)) {<br />
  // sweet, we take that, and it&#8217;s valid<br />
  do_visa_stuff($_POST['cc']);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ashworthconsulting.com/scripts-code/php/validating-a-credit-card.html/comment-page-1#comment-76</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 03 Feb 2010 17:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashworthconsulting.com/?p=214#comment-76</guid>
		<description>Thanks. This one&#039;s come in handy on more than one project. I hate pattern matching with a passion but it&#039;s essential if you want to get down to the tricky stuff.</description>
		<content:encoded><![CDATA[<p>Thanks. This one&#8217;s come in handy on more than one project. I hate pattern matching with a passion but it&#8217;s essential if you want to get down to the tricky stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://www.ashworthconsulting.com/scripts-code/php/validating-a-credit-card.html/comment-page-1#comment-75</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Wed, 03 Feb 2010 08:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ashworthconsulting.com/?p=214#comment-75</guid>
		<description>Excellent code man!</description>
		<content:encoded><![CDATA[<p>Excellent code man!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
