Displaying 2 results from an estimated 2 matches for "sreturn".
Did you mean:
return
2005 Sep 21
0
HOWTO: A simple AGI application to modify incomi ng CallerID on the fly using SQL Server and *not* UnixODBC
...var $sConnectionString; //connection string to use
//function to parse the SQL
function ExecSQL($sSQL) {
$fToOpen = fsockopen($this->sHostName, $this->nPort,
&$errno, &$errstr, 30);
if (!$fToOpen)
{
//contruct error string to return
$sReturn = "<?xml
version=\"1.0\"?>\r\n<result
state=\"failure\">\r\n<error>$errstr</error>\r\n</result>\r\n";
}
else
{
//construct XML to send
//search and replace HTML chars in SQL first
$sSQL = HTMLSpecialChars($sSQL);
$...
2005 Sep 22
0
AGI Script to interact with ACCESS Databse a nd Set CID info on the fly.
...var $sConnectionString; //connection string to use
//function to parse the SQL
function ExecSQL($sSQL) {
$fToOpen = fsockopen($this->sHostName, $this->nPort,
&$errno, &$errstr, 30);
if (!$fToOpen)
{
//contruct error string to return
$sReturn = "<?xml
version=\"1.0\"?>\r\n<result
state=\"failure\">\r\n<error>$errstr</error>\r\n</result>\r\n";
}
else
{
//construct XML to send
//search and replace HTML chars in SQL first
$sSQL = HTMLSpecialChars($sSQL);
$...