<?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/tags/validate</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 11:37:43 GMT</pubDate>
<item>
<title>(PHP) GM Project 2012 (validate users) - cameronjrc</title>
<link>http://snipplr.com/view/71035/gm-project-2012-validate-users/</link>
<description><![CDATA[ <p>A fast description of an sql cell with comparison and response.</p> ]]></description>
<pubDate>Sat, 04 May 2013 01:31:23 GMT</pubDate>
<guid>http://snipplr.com/view/71035/gm-project-2012-validate-users/</guid>
</item>
<item>
<title>(jQuery) Form validator - tcspinks</title>
<link>http://snipplr.com/view/70524/form-validator/</link>
<description><![CDATA[ <p>Validate numbers only, email addresses, restricted input, required fields, and add error classes</p> ]]></description>
<pubDate>Sat, 23 Mar 2013 03:23:27 GMT</pubDate>
<guid>http://snipplr.com/view/70524/form-validator/</guid>
</item>
<item>
<title>(PHP) Check 10- and 11- digit phone numbers - chrisvogt</title>
<link>http://snipplr.com/view/69311/check-10-and-11-digit-phone-numbers/</link>
<description><![CDATA[ <p>Return a pure 10-digit phone number if the number given is 10 digits or 11 digits.</p> ]]></description>
<pubDate>Sun, 30 Dec 2012 10:46:13 GMT</pubDate>
<guid>http://snipplr.com/view/69311/check-10-and-11-digit-phone-numbers/</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>(JavaScript) Validate Username using Javascript - welancers</title>
<link>http://snipplr.com/view/66739/validate-username-using-javascript/</link>
<description><![CDATA[ <p>Validate Username using Javascript. Pass the Username as argument to function. It allows to enter only letters, numbers and underscores.</p> ]]></description>
<pubDate>Wed, 15 Aug 2012 12:25:30 GMT</pubDate>
<guid>http://snipplr.com/view/66739/validate-username-using-javascript/</guid>
</item>
<item>
<title>(PHP) jQuery Validate Not Equal - StevenW721</title>
<link>http://snipplr.com/view/66057/jquery-validate-not-equal/</link>
<description><![CDATA[ <p>Adds a method to the jQuery Validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) to return false if the field equals a specified string</p> ]]></description>
<pubDate>Wed, 11 Jul 2012 01:54:22 GMT</pubDate>
<guid>http://snipplr.com/view/66057/jquery-validate-not-equal/</guid>
</item>
<item>
<title>(PHP) Validate the date - _reydin_</title>
<link>http://snipplr.com/view/65771/validate-the-date/</link>
<description><![CDATA[ <p>This will check the date and if it is not a valid date then it will increment the month and reset the day back to one.</p> ]]></description>
<pubDate>Sat, 23 Jun 2012 07:02:31 GMT</pubDate>
<guid>http://snipplr.com/view/65771/validate-the-date/</guid>
</item>
<item>
<title>(PHP) Ultimate Email Validation PHP Function - thewickedchemist</title>
<link>http://snipplr.com/view/65332/ultimate-email-validation-php-function/</link>
<description><![CDATA[ <p>Checks for fake DNS as well as utilizes regex functions to check the string for proper length &amp; characters.</p> ]]></description>
<pubDate>Sat, 02 Jun 2012 14:35:49 GMT</pubDate>
<guid>http://snipplr.com/view/65332/ultimate-email-validation-php-function/</guid>
</item>
<item>
<title>(PHP) checkdate - Dapsy</title>
<link>http://snipplr.com/view/63110/checkdate/</link>
<description><![CDATA[ <p>Function which can be used as wrapper for default PHP checkdate function. Will automatically parse given date (string or integer format).</p> ]]></description>
<pubDate>Tue, 07 Feb 2012 00:31:42 GMT</pubDate>
<guid>http://snipplr.com/view/63110/checkdate/</guid>
</item>
<item>
<title>(PHP) Validate YouTube Video - peckham</title>
<link>http://snipplr.com/view/57206/validate-youtube-video/</link>
<description><![CDATA[ <p>This function validates the URL of a YouTube video. It supports four kinds of URL: ?v=, /v/, #!v=, and the short version (youtu.be).

To validate the ID a request to YouTube is made, this is done using a personal class utilizing cURL.</p> ]]></description>
<pubDate>Wed, 27 Jul 2011 23:55:40 GMT</pubDate>
<guid>http://snipplr.com/view/57206/validate-youtube-video/</guid>
</item>
<item>
<title>(JavaScript) prototype - jsvalidate_beta05 - gregorynicholas</title>
<link>http://snipplr.com/view/52593/prototype--jsvalidatebeta05/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 26 Apr 2011 15:18:28 GMT</pubDate>
<guid>http://snipplr.com/view/52593/prototype--jsvalidatebeta05/</guid>
</item>
<item>
<title>(ActionScript 3) Validador - ZeRat</title>
<link>http://snipplr.com/view/51151/validador/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 26 Mar 2011 07:37:10 GMT</pubDate>
<guid>http://snipplr.com/view/51151/validador/</guid>
</item>
<item>
<title>(PHP) Email validation with MX check - sadus</title>
<link>http://snipplr.com/view/49101/email-validation-with-mx-check/</link>
<description><![CDATA[ <p>found this somewhere online...not the author, but works like a charm</p> ]]></description>
<pubDate>Thu, 17 Feb 2011 02:50:33 GMT</pubDate>
<guid>http://snipplr.com/view/49101/email-validation-with-mx-check/</guid>
</item>
<item>
<title>(PHP) Validate an alphanumeric string - robertdotim</title>
<link>http://snipplr.com/view/48819/validate-an-alphanumeric-string/</link>
<description><![CDATA[ <p>This function uses the preg_replace counter to check for any non-alphanumeric characters.

You can use this for username / password validation if you don't want any special characters to be used.</p> ]]></description>
<pubDate>Fri, 11 Feb 2011 09:44:05 GMT</pubDate>
<guid>http://snipplr.com/view/48819/validate-an-alphanumeric-string/</guid>
</item>
<item>
<title>(Other) Credit Card Numbers for Testing - hced</title>
<link>http://snipplr.com/view/44676/credit-card-numbers-for-testing/</link>
<description><![CDATA[ <p>Credit Card Numbers for Testing

The following credit card numbers are valid in format for testing purposes, although obviously cannot be used to purchase real goods.

They can be used to test card gateway integration on websites.

(Credit: http://www.freshsauce.co.uk)</p> ]]></description>
<pubDate>Tue, 23 Nov 2010 00:27:11 GMT</pubDate>
<guid>http://snipplr.com/view/44676/credit-card-numbers-for-testing/</guid>
</item>
<item>
<title>(PHP) Validate email address PHP - visudex</title>
<link>http://snipplr.com/view/44666/validate-email-address-php/</link>
<description><![CDATA[ <p>This snippet is a PHP function that checks if an email address is valid</p> ]]></description>
<pubDate>Mon, 22 Nov 2010 19:22:55 GMT</pubDate>
<guid>http://snipplr.com/view/44666/validate-email-address-php/</guid>
</item>
<item>
<title>(PHP) Validate date - stz184</title>
<link>http://snipplr.com/view/42694/validate-date/</link>
<description><![CDATA[ <p>Check date with format YYYY-MM-DD is valid date in the past. Useful for birthday check - you can't specify birth date in the future, right?</p> ]]></description>
<pubDate>Thu, 21 Oct 2010 20:45:37 GMT</pubDate>
<guid>http://snipplr.com/view/42694/validate-date/</guid>
</item>
<item>
<title>(PHP) Validação de CPF - wesleymacente</title>
<link>http://snipplr.com/view/40535/validao-de-cpf/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 15 Sep 2010 23:30:35 GMT</pubDate>
<guid>http://snipplr.com/view/40535/validao-de-cpf/</guid>
</item>
<item>
<title>(PHP) Check Number - jamepaul</title>
<link>http://snipplr.com/view/40095/check-number/</link>
<description><![CDATA[ <p>I want to get only number from user it does not start with zero.
I think it's not perfect but works for me.</p> ]]></description>
<pubDate>Tue, 07 Sep 2010 20:47:20 GMT</pubDate>
<guid>http://snipplr.com/view/40095/check-number/</guid>
</item>
<item>
<title>(PHP) Zend Framework - Validators Example - paramah</title>
<link>http://snipplr.com/view/39587/zend-framework--validators-example/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 27 Aug 2010 08:17:16 GMT</pubDate>
<guid>http://snipplr.com/view/39587/zend-framework--validators-example/</guid>
</item>
</channel>
</rss>