<?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: Screencast: Quick PHP Form Validation with PEAR</title>
	<atom:link href="http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/</link>
	<description>Home of Ryan Taylor</description>
	<lastBuildDate>Sun, 05 Sep 2010 12:08:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan Taylor</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-1397</link>
		<dc:creator>Ryan Taylor</dc:creator>
		<pubDate>Wed, 12 May 2010 08:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-1397</guid>
		<description>@Paul - Thanks for your feedback. I agree, this example isn&#039;t suitable for production work simply an example of how to use PEAR Validation. :-)</description>
		<content:encoded><![CDATA[<p>@Paul &#8211; Thanks for your feedback. I agree, this example isn&#8217;t suitable for production work simply an example of how to use PEAR Validation. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Baker</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-1396</link>
		<dc:creator>Paul Baker</dc:creator>
		<pubDate>Tue, 11 May 2010 23:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-1396</guid>
		<description>Well explained, thanks for the screencast Ryan!  I now know about Pear  :)

Suggested improvements:  One of your example fields had a minimum length.  If you entered something but did not meet the minimum length, your script would still simply say &quot;....is a required field&quot; without explaining what went wrong.

Secondly, when more than 1 thing goes wrong it&#039;s better usability (IMHO anyway) to inform the user of all the errors at the same time, rather than showing 1 error at a time.</description>
		<content:encoded><![CDATA[<p>Well explained, thanks for the screencast Ryan!  I now know about Pear  :)</p>
<p>Suggested improvements:  One of your example fields had a minimum length.  If you entered something but did not meet the minimum length, your script would still simply say &#8220;&#8230;.is a required field&#8221; without explaining what went wrong.</p>
<p>Secondly, when more than 1 thing goes wrong it&#8217;s better usability (IMHO anyway) to inform the user of all the errors at the same time, rather than showing 1 error at a time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sss</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-1250</link>
		<dc:creator>sss</dc:creator>
		<pubDate>Thu, 11 Mar 2010 10:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-1250</guid>
		<description>wow great tut</description>
		<content:encoded><![CDATA[<p>wow great tut</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmad</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-17</link>
		<dc:creator>Ahmad</dc:creator>
		<pubDate>Mon, 13 Apr 2009 19:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-17</guid>
		<description>I mean I hope see more tutorials for you
sorry
</description>
		<content:encoded><![CDATA[<p>I mean I hope see more tutorials for you<br />
sorry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmad</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-16</link>
		<dc:creator>Ahmad</dc:creator>
		<pubDate>Mon, 13 Apr 2009 19:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-16</guid>
		<description>Thanks very much
I hope you  see more tutorials for you
</description>
		<content:encoded><![CDATA[<p>Thanks very much<br />
I hope you  see more tutorials for you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ned</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-15</link>
		<dc:creator>Ned</dc:creator>
		<pubDate>Sat, 13 Dec 2008 04:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-15</guid>
		<description>Absolutely tremendous. I was looking to learn about Validate and I  learned that and a whole lot more in this screencast.
Thank you sir.
</description>
		<content:encoded><![CDATA[<p>Absolutely tremendous. I was looking to learn about Validate and I  learned that and a whole lot more in this screencast.<br />
Thank you sir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danilo</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-14</link>
		<dc:creator>Danilo</dc:creator>
		<pubDate>Tue, 02 Dec 2008 15:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-14</guid>
		<description>Thanks for screencast, it was very useful for me :)
</description>
		<content:encoded><![CDATA[<p>Thanks for screencast, it was very useful for me :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-13</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Mon, 24 Nov 2008 20:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-13</guid>
		<description>Great tutorial. Looking forward to more.
One thing I ran into, when trying to validate a field using the format VALIDATE_NAME in the opts array:
&#039;first_name&#039; =&gt; array(&#039;type&#039; =&gt; &#039;string&#039;,array(&#039;format&#039;=&gt;VALIDATE_NAME))
it kept failing when validating names with apostrophes, until I realized that magic_quotes_gpc was on, so in the value array:
&#039;last_name&#039; =&gt; $p_last_name,
needs to become
&#039;last_name&#039; =&gt; stripslashes($p_last_name),
Hope this helps someone out there.
</description>
		<content:encoded><![CDATA[<p>Great tutorial. Looking forward to more.<br />
One thing I ran into, when trying to validate a field using the format VALIDATE_NAME in the opts array:<br />
&#8216;first_name&#8217; => array(&#8216;type&#8217; => &#8217;string&#8217;,array(&#8216;format&#8217;=>VALIDATE_NAME))<br />
it kept failing when validating names with apostrophes, until I realized that magic_quotes_gpc was on, so in the value array:<br />
&#8216;last_name&#8217; => $p_last_name,<br />
needs to become<br />
&#8216;last_name&#8217; => stripslashes($p_last_name),<br />
Hope this helps someone out there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jesusvld</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-12</link>
		<dc:creator>jesusvld</dc:creator>
		<pubDate>Fri, 12 Sep 2008 22:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-12</guid>
		<description>Excelent!!!
</description>
		<content:encoded><![CDATA[<p>Excelent!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.havocinspired.co.uk/tutorial/screencast-quick-php-form-validation-with-pear/#comment-11</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Thu, 11 Sep 2008 19:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.havocinspired.co.uk/?p=23#comment-11</guid>
		<description>&quot;I&#039;ve come across a pear&quot;
Well, whatever floats your boat Ry....
</description>
		<content:encoded><![CDATA[<p>&#8220;I&#8217;ve come across a pear&#8221;<br />
Well, whatever floats your boat Ry&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
