OCI8
| From: | yannick | Date: | Fri, 13 Aug 2004 12:29:20 +0000 |
| Subject: | OCI8 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-35684@lists.php.net to get a copy of this message | ||
I have some trouble with Oracle Database and php...
see this code:
<?
while (1) {
$conn=OCILogon($username,$password,$database);
$stmt=OCIParse($conn,"select 50 as toto from dual");
OCIDefineByName($stmt,"TOTO",&$total);
OCIExecute($stmt);
OCIFetch($stmt);
echo ":::$total:::\n";
OCILogoff($conn);
$err=OCIError($conn);
OCILogoff($conn);
sleep(10);
}
?>
when i execute it, the number of fd on ocius.msg is growing. but there is
only 1 connection at database.
Can someone help me ?