<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/validation</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 18:09:11 GMT</pubDate>
<item>
<title>(PHP) Credit card validation in php - satinfo30</title>
<link>http://snipplr.com/view/70984/credit-card-validation-in-php/</link>
<description><![CDATA[ <p>Validate the credit card number is valid or not</p> ]]></description>
<pubDate>Tue, 30 Apr 2013 20:10:28 GMT</pubDate>
<guid>http://snipplr.com/view/70984/credit-card-validation-in-php/</guid>
</item>
<item>
<title>(PHP) URL validation - dosde</title>
<link>http://snipplr.com/view/70256/url-validation/</link>
<description><![CDATA[ <p>validate given URL through C5</p> ]]></description>
<pubDate>Tue, 05 Mar 2013 18:31:13 GMT</pubDate>
<guid>http://snipplr.com/view/70256/url-validation/</guid>
</item>
<item>
<title>(PHP) Is numeric - pythas</title>
<link>http://snipplr.com/view/69793/is-numeric/</link>
<description><![CDATA[ <p>Read docblock.</p> ]]></description>
<pubDate>Wed, 06 Feb 2013 01:07:38 GMT</pubDate>
<guid>http://snipplr.com/view/69793/is-numeric/</guid>
</item>
<item>
<title>(PHP) Javascript  validation for text box . Special Characters, Numbers. - laxman2021</title>
<link>http://snipplr.com/view/69068/javascript--validation-for-text-box--special-characters-numbers/</link>
<description><![CDATA[ <p>Special chars, Numbers validation.</p> ]]></description>
<pubDate>Tue, 11 Dec 2012 19:16:54 GMT</pubDate>
<guid>http://snipplr.com/view/69068/javascript--validation-for-text-box--special-characters-numbers/</guid>
</item>
<item>
<title>(PHP) Onkeypress event Javascript spacekey event Validation for (Integers, Spaces) Textbox. - laxman2021</title>
<link>http://snipplr.com/view/68969/onkeypress-event-javascript-spacekey-event-validation-for-integers-spaces-textbox/</link>
<description><![CDATA[ <p>Validates Numericals in a text box.

Validates spaces in a text box.</p> ]]></description>
<pubDate>Wed, 05 Dec 2012 21:34:39 GMT</pubDate>
<guid>http://snipplr.com/view/68969/onkeypress-event-javascript-spacekey-event-validation-for-integers-spaces-textbox/</guid>
</item>
<item>
<title>(PHP) Validate HTML Color (Both HEX &amp;amp; Named)| Regex - STaRDoGG</title>
<link>http://snipplr.com/view/68083/validate-html-color-both-hex--named-regex/</link>
<description><![CDATA[ <p>This function will take a HTML color as a string, and run it through some validation.

If $named (optional): is set to either 1 or TRUE it'll check if it was a named color first, otherwise itll first check for a valid Hex color that include thes hash (#) sign, and then will check for a valid Hex color that doesn't include the hash and add it to the color.

NOTE: If it fails anywhere along the validation, such as an invalid Hex color, no error notice is returned. You may want to add this in yourself, or perhaps return a default color, such as black, if it's needed for your use.</p> ]]></description>
<pubDate>Sat, 03 Nov 2012 04:12:49 GMT</pubDate>
<guid>http://snipplr.com/view/68083/validate-html-color-both-hex--named-regex/</guid>
</item>
<item>
<title>(PHP) Form validation - Email validation - frvalois</title>
<link>http://snipplr.com/view/67365/form-validation--email-validation/</link>
<description><![CDATA[ <p>Return false if the email is valid - True if it's not</p> ]]></description>
<pubDate>Wed, 26 Sep 2012 08:06:02 GMT</pubDate>
<guid>http://snipplr.com/view/67365/form-validation--email-validation/</guid>
</item>
<item>
<title>(PHP) EU VAT Validation - MGHollander</title>
<link>http://snipplr.com/view/65602/eu-vat-validation/</link>
<description><![CDATA[ <p>Look if the given input could be a legal VAT-number.
Accepts input with or without '.' between the numbers and must contain a County-code</p> ]]></description>
<pubDate>Wed, 13 Jun 2012 22:24:41 GMT</pubDate>
<guid>http://snipplr.com/view/65602/eu-vat-validation/</guid>
</item>
<item>
<title>(PHP) Password Hash and Validation - StevenW721</title>
<link>http://snipplr.com/view/62288/password-hash-and-validation/</link>
<description><![CDATA[ <p>Calling generateHash() with a single argument (the plain text password) will cause a random string to be generated and used for the salt. The resulting string consists of the salt followed by the SHA-1 hash - this is to be stored away in your database. When you're checking a user's login, the situation is slightly different in that you already know the salt you'd like to use. The string stored in your database can be passed to generateHash() as the second argument when generating the hash of a user-supplied password for comparison.</p> ]]></description>
<pubDate>Wed, 04 Jan 2012 06:18:53 GMT</pubDate>
<guid>http://snipplr.com/view/62288/password-hash-and-validation/</guid>
</item>
<item>
<title>(PHP) VALIDAR EMAIL Y STRING CON PHP - serialk89</title>
<link>http://snipplr.com/view/55337/validar-email-y-string-con-php/</link>
<description><![CDATA[ <p>Validacion de email y string con php</p> ]]></description>
<pubDate>Fri, 17 Jun 2011 02:42:00 GMT</pubDate>
<guid>http://snipplr.com/view/55337/validar-email-y-string-con-php/</guid>
</item>
<item>
<title>(PHP) CI: clearing form after successful submit - screon</title>
<link>http://snipplr.com/view/55275/ci-clearing-form-after-successful-submit/</link>
<description><![CDATA[ <p>Within your view, you place something like: 

</p> ]]></description>
<pubDate>Thu, 16 Jun 2011 00:11:21 GMT</pubDate>
<guid>http://snipplr.com/view/55275/ci-clearing-form-after-successful-submit/</guid>
</item>
<item>
<title>(PHP) Email Validation PHP Regex - nebojsac</title>
<link>http://snipplr.com/view/55133/email-validation-php-regex/</link>
<description><![CDATA[ <p>Full email validation with regex.</p> ]]></description>
<pubDate>Fri, 10 Jun 2011 23:06:51 GMT</pubDate>
<guid>http://snipplr.com/view/55133/email-validation-php-regex/</guid>
</item>
<item>
<title>(PHP) Validacion y comparacion de variables (strleng, strpos y substr ) - serialk89</title>
<link>http://snipplr.com/view/52333/validacion-y-comparacion-de-variables-strleng-strpos-y-substr-/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Apr 2011 00:14:09 GMT</pubDate>
<guid>http://snipplr.com/view/52333/validacion-y-comparacion-de-variables-strleng-strpos-y-substr-/</guid>
</item>
<item>
<title>(PHP) E-Mail Address Validation - frederichoule</title>
<link>http://snipplr.com/view/51421/email-address-validation/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 01 Apr 2011 13:32:18 GMT</pubDate>
<guid>http://snipplr.com/view/51421/email-address-validation/</guid>
</item>
<item>
<title>(PHP) PHP URL validation - peckham</title>
<link>http://snipplr.com/view/50618/php-url-validation/</link>
<description><![CDATA[ <p>This function can be used to validate an URL</p> ]]></description>
<pubDate>Mon, 14 Mar 2011 07:34:44 GMT</pubDate>
<guid>http://snipplr.com/view/50618/php-url-validation/</guid>
</item>
<item>
<title>(PHP) Email Validation - Turek</title>
<link>http://snipplr.com/view/48087/email-validation/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 30 Jan 2011 00:12:42 GMT</pubDate>
<guid>http://snipplr.com/view/48087/email-validation/</guid>
</item>
<item>
<title>(PHP) ID of POST, GET, COOKIE or SESSION - Validation - sb_01</title>
<link>http://snipplr.com/view/41963/id-of-post-get-cookie-or-session--validation/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 10 Oct 2010 00:50:32 GMT</pubDate>
<guid>http://snipplr.com/view/41963/id-of-post-get-cookie-or-session--validation/</guid>
</item>
<item>
<title>(PHP) Validate an email address. - jprochazka</title>
<link>http://snipplr.com/view/41306/validate-an-email-address/</link>
<description><![CDATA[ <p>The following function does a very simple check on the supplied string to help ensure it is a valid email address.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:37:40 GMT</pubDate>
<guid>http://snipplr.com/view/41306/validate-an-email-address/</guid>
</item>
<item>
<title>(PHP) Validate a domain name. - jprochazka</title>
<link>http://snipplr.com/view/41305/validate-a-domain-name/</link>
<description><![CDATA[ <p>The following function validates and returns TRUE or FALSE if the supplied string could be a valid domain name format.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:37:35 GMT</pubDate>
<guid>http://snipplr.com/view/41305/validate-a-domain-name/</guid>
</item>
<item>
<title>(PHP) Validate email address - tuffo19</title>
<link>http://snipplr.com/view/41293/validate-email-address/</link>
<description><![CDATA[ <p>Definitivo. Errore bassissimo.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:32:00 GMT</pubDate>
<guid>http://snipplr.com/view/41293/validate-email-address/</guid>
</item>
</channel>
</rss>