the source code is :
<head></head>
<body bgcolor='#f0a0b0'>
<h1>database init...!</h1>
<? $hostname='localhost';$dbusername='sa';$dbpassword='';$dbname='master';
sybase_connect($hostname,$dbusername,$dbpassword) OR DIE("cannot connect dbï¼Â");
@sybase_select_db("$dbname") or die("cannot select dbï¼Â");
sybase_close();
?>
</body>
the output is :
database init...!
cannot connect dbï¼Â
ASK:
what problem it happened?
thank lots!!!
<head></head>
<body bgcolor='#f0a0b0'>
<h1>database init...!</h1>
<? $hostname='localhost';$dbusername='sa';$dbpassword='';$dbname='master';
sybase_connect($hostname,$dbusername,$dbpassword) OR DIE("cannot connect dbï¼Â");
@sybase_select_db("$dbname") or die("cannot select dbï¼Â");
sybase_close();
?>
</body>
the output is :
database init...!
cannot connect dbï¼Â
ASK:
what problem it happened?
thank lots!!!