Displaying 1 result from an estimated 1 matches for "_get_agivars".
2009 May 27
1
PHP AGI Problems
...FILE $row[path]");
$AGI->send_cmd("EXEC PLAYBACK beep");
function check_msg($ID){
$msg_result=$database->querydb("**********sql query filtered**********");
return $msg_result;
}
?>
<?php
//AGI.class.php
class AGI {
public $agivars;
function _get_agivars(){
$agivars = array();
while (!feof(STDIN)) {
$agivar = trim(fgets(STDIN));
if ($agivar === '') {
break;
}
$agivar = explode(':', $agivar);
$agivars[$agivar[0]] = trim($agivar[1]);
}...