search for: ftoopen

Displaying 2 results from an estimated 2 matches for "ftoopen".

2005 Sep 21
0
HOWTO: A simple AGI application to modify incomi ng CallerID on the fly using SQL Server and *not* UnixODBC
...ters: #!/usr/bin/php -q <?php class ODBCSocketServer { var $sHostName; //name of the host to connect to var $nPort; //port to connect to 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</res...
2005 Sep 22
0
AGI Script to interact with ACCESS Databse a nd Set CID info on the fly.
...s: #!/usr/bin/php -q <?php class ODBCSocketServer { var $sHostName; //name of the host to connect to var $nPort; //port to connect to 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</res...