Thanks in advance,
Aang
I'm trying the same thing here. Had to download ADODB
Library from sourceforge.net. But still can't connect. Looks
like there is no way to set the port for the server...
I tried the following with no success :
<?php
include('adodb/adodb.inc.php');
$login = rawurlencode("blah_blah");
$password ="blah";
$server = "blah,5500";
$database ="blah";
#$option=("?PORT=5500 & CHARSET='mac'");
$db = NewADOConnection (rawurlencode("sybase_ase"));
$db->Connect("$server", "$login", "$password",
"$database");
if (!$db) die("Connection failed");
# no need to call connect/pconnect!
$arr = $db->GetArray("select * from USERS");
?>