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

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

    
    <item>
        <title>Encodé username/pass pour tester SMTP authentifié</title>
        <link>http://www.posteet.com/view/180</link>
        <description>
        <![CDATA[<pre># credentials must be Base64 encoded. Two methods :
printf 'username\0username\0password' | mmencode
perl -MMIME::Base64 -e 'print encode_base64(&quot;username\0username\0password&quot;);'</pre> <a href="http://www.posteet.com/tags/auth">[auth]</a>  <a href="http://www.posteet.com/tags/base64">[base64]</a>  <a href="http://www.posteet.com/tags/mail">[mail]</a>  <a href="http://www.posteet.com/tags/smtp">[smtp]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Sun, 04 Nov 2007 16:36:20 +0000</pubDate>

            <category>auth</category>
            <category>base64</category>
            <category>mail</category>
            <category>smtp</category>
    
    </item>

  
    <item>
        <title>Messages d'erreur pour Pear::auth</title>
        <link>http://www.posteet.com/view/5</link>
        <description>
        <![CDATA[<pre>$status = '';
if (isset($a) &amp;&amp; ($a-&gt;getStatus() != 0)) {
  switch ($a-&gt;getStatus()) {
    case AUTH_WRONG_LOGIN : $status = &quot;Login ou pass invalide&quot;; break;
    case AUTH_EXPIRED : $status = &quot;Session expirée&quot;; break;
    case AUTH_IDLED : $status = &quot;Inactivité trop longue&quot;; break;
    case AUTH_SECURITY_BREACH : $status = &quot;Problème de securite&quot;; break;
    default : echo &quot;Message&quot;;
  }
}
echo $status;</pre> <a href="http://www.posteet.com/tags/auth">[auth]</a>  <a href="http://www.posteet.com/tags/pear">[pear]</a>  <a href="http://www.posteet.com/tags/php">[php]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Sat, 22 Sep 2007 07:54:00 +0000</pubDate>

            <category>auth</category>
            <category>pear</category>
            <category>php</category>
    
    </item>


</channel>
</rss>
