<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>scriptingBlog.com &#187; check email</title>
	<atom:link href="http://www.scriptingblog.com/tag/check-email/feed" rel="self" type="application/rss+xml" />
	<link>http://www.scriptingblog.com</link>
	<description>For those who work online</description>
	<lastBuildDate>Mon, 18 May 2009 04:13:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Validate Email Address</title>
		<link>http://www.scriptingblog.com/php-and-mysql/validate-email-address/37</link>
		<comments>http://www.scriptingblog.com/php-and-mysql/validate-email-address/37#comments</comments>
		<pubDate>Mon, 13 Oct 2008 11:42:59 +0000</pubDate>
		<dc:creator>Ovi</dc:creator>
				<category><![CDATA[PHP and MySQL]]></category>
		<category><![CDATA[check email]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[email validator]]></category>

		<guid isPermaLink="false">http://www.scriptingblog.com/?p=37</guid>
		<description><![CDATA[This is a very simple function that can be used to validate eMail addresses. The function verifies whether a given eMail address matches a regular expression that eMail addresses should conform and validate the eMail address host. Source code: &#60;? function&#160;check_email($email){   &#160;if(@ereg("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$",&#160;$email)){       &#160;$url&#160;=&#160;substr(strrchr($email,&#160;"@"),&#160;1);       &#160;if&#160;(strstr($url,&#160;"/"))&#160;{           &#160;$url&#160;=&#160;explode("/",&#160;$url,&#160;2);           &#160;$url[1]&#160;=&#160;"/".$url[1];       &#160;}&#160;else&#160;{           &#160;$url&#160;=&#160;array($url,&#160;"/");       &#160;}       &#160;$fh&#160;=&#160;@fsockopen($url[0],&#160;80);       &#160;if&#160;($fh)&#160;{           &#160;@fputs($fh,"GET&#160;".$url[1]."&#160;HTTP/1.1\nHost:".$url[0]."\n\n");           &#160;if&#160;(@fread($fh,&#160;22)&#160;==&#160;"HTTP/1.1&#160;404&#160;Not&#160;Found")&#160;{&#160;return&#160;FALSE;&#160;}           &#160;else&#160;{&#160;return&#160;TRUE;   &#160;}       &#160;}&#160;else&#160;{&#160;return&#160;FALSE;} [...]]]></description>
		<wfw:commentRss>http://www.scriptingblog.com/php-and-mysql/validate-email-address/37/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
