<div dir="ltr"><div><div>Hello!<br></div>My problem is I need to do users authentication through API. So I need to replace<br><pre class="">if (!www_authenticate("$td", "subscriber")) {
        www_challenge("$td", "1");
}<br><br></pre><pre class=""><span style="font-family:arial,helvetica,sans-serif">With</span><br><br>if (!my_auth_script()) {
        www_challenge("$td", "1");
}<br></pre>The main problem is - how can I grab or compare users password? I know nonce, which I understand is MD5 salt. Can I, for example, grab users password from API, then grab the MD5 string and the nonce user sent me, calculate MD5 on base of API password and nonce - and then compare MD5 strings sent by user and calculated? <br></div><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: +37367398493<br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div></div></div></div></div>