Hi All,
I am trying to connect to oracle db from PHP.But it's not connecting.i did't put any host String while installing Oracle9i.
my code:
<code>
<?php
if ($c=OCILogon("scott", "tiger", ""))
{
echo "Successfully connected to Oracle.\n";
OCILogoff($c);
}
else {
$err = OCIError();
echo "Oracle Connect Error " . $err[text];
}
?>
</code>
what should i do to connect Oracle.Anybody reply me as soon as possible.
thanks
nkmb
I am trying to connect to oracle db from PHP.But it's not connecting.i did't put any host String while installing Oracle9i.
my code:
<code>
<?php
if ($c=OCILogon("scott", "tiger", ""))
{
echo "Successfully connected to Oracle.\n";
OCILogoff($c);
}
else {
$err = OCIError();
echo "Oracle Connect Error " . $err[text];
}
?>
</code>
what should i do to connect Oracle.Anybody reply me as soon as possible.
thanks
nkmb