<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: mail,formulaire</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>Vérifier la validité d'une adresse email avec php</title>
        <link>http://www.posteet.com/view/152</link>
        <description>
        <![CDATA[<pre>// Vérification de la forme
function isEmail($email){
 return preg_match(&quot;/^(\w|-|\.)+@((\w|-)+\.)+[a-z]{2,6}$/i&quot;, $email)
}

// Domaine valide ?
function isEmailDomaine($email){
   list($compte,$domaine)=split('@',$email,2);
   if(!checkdnsrr($domaine,'MX') &amp;&amp; !checkdnsrr($domaine,'A')){
     return false;
   }else{
     return true;
   }</pre> <a href="http://www.posteet.com/tags/email">[email]</a>  <a href="http://www.posteet.com/tags/formulaire">[formulaire]</a>  <a href="http://www.posteet.com/tags/mail">[mail]</a>  <a href="http://www.posteet.com/tags/php">[php]</a> ]]>        </description>
        <dc:creator>daoro</dc:creator>
        <pubDate>Sat, 03 Nov 2007 21:41:15 +0000</pubDate>

            <category>email</category>
            <category>formulaire</category>
            <category>mail</category>
            <category>php</category>
    
    </item>


</channel>
</rss>
