PHP Oracle connection across page.
| From: | syho | Date: | Sat, 06 Sep 2003 03:00:10 +0000 |
| Subject: | PHP Oracle connection across page. | ||
| Groups: | php.db php.db | ||
| Request: | Send a blank email to php-db+get-30384@lists.php.net to get a copy of this message | ||
I have the following problem, please help me. Many thanks.
Script 1:
<?php
$o_connection=@OCIlogon($o_conn_vars["username"], $o_conn_vars["password"],
$o_conn_vars["db"]);
//Parse sql statement
//Execute sql statement.
..
...
require('2.inc');
?>
____________________________________________________________________________
___________
2.inc:
// This script will switch the brower to script2.php
<html>
<form name="s_form" action="script2.php" method ="POST">
</html>
____________________________________________________________________________
____________
script2.php:
<?php
My problem is, how to get back the Oracle database connection in this
script? Please advise.
?>