search for: bind_columns

Displaying 1 result from an estimated 1 matches for "bind_columns".

2004 Jul 01
2
DISA and AGI: authenticate by caller ID?
...ut{'callerid'}) { $AGI->say_digits($callerid); $query = "SELECT active FROM cids WHERE cid=$callerid"; # active should be 1 if the caller ID is found and set active $sth = $dbh->prepare($query); $sth->execute(); $sth->bind_columns(undef, \$active); $sth->fetch(); if($active) $AGI->exec('DISA','no-password|disa'); } $AGI->hangup(); exit;