Displaying 2 results from an estimated 2 matches for "sconnectionstr".
Did you mean:
connectionptr
2005 Sep 21
0
HOWTO: A simple AGI application to modify incomi ng CallerID on the fly using SQL Server and *not* UnixODBC
...ng PHP script to your taste. Ensure your PHP.ini in
/etc has error and warning suppression ON or else the AGI will return
invalid characters:
#!/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 = "<?x...
2005 Sep 22
0
AGI Script to interact with ACCESS Databse a nd Set CID info on the fly.
...PHP script to your taste. Ensure your PHP.ini in
/etc has error and warning suppression ON or else the AGI will return
invalid characters:
#!/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 = "<?...