<DIV>hi all,</DIV>
<DIV>I tried going through the avp documents but I have a few doubts related to avp_db_load and avp_check functions. </DIV>
<DIV>I wanted to implement the access control list. the access control values may be jus like:</DIV>
<DIV>1 =&gt; local calls</DIV>
<DIV>2 =&gt; long distance calls</DIV>
<DIV>3 =&gt; international calls.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am using the default table usr_preferences. when I do the avp_check as:</DIV>
<DIV>if(!avp_check("$acl", "and/0x01"))</DIV>
<DIV>I get an error that it cannot be parsed and fix the avp_check. And can someone pls explain how the bitwise check "and", "or" etc works..</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks,</DIV>
<DIV>jayesh<BR></DIV><p>
                <hr size=1>Yahoo! for Good<br> 
<a href="http://store.yahoo.com/redcross-donate3/">Click here to donate</a> to the Hurricane Katrina relief effort.