Re: Problem with OCIPLOGON
| From: | thies at digicol dot de | Date: | Tue, 29 Aug 2000 11:01:05 +0000 |
| Subject: | Re: Problem with OCIPLOGON | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2436@lists.php.net to get a copy of this message | ||
On Tue, Aug 29, 2000 at 12:25:13PM +0200, Guillaume Duwelz-Rebert wrote:
> Hello,
>
> I've created a web site using apache 1.3.12 and php 4.
> I also have Oracle 8, and compiled php to support oracle.
> All is working fine, but I've got a problem with OCIPlogon.
>
> My web site has 2 frames. One on the left and one on the right.
> First I asked a login, password, and database on the left frame with HTML FORMS.
> Then I load a new page and read these parameters.
> I then would like to create a connexion with OCIPLogon and then submit only the
> connexion
> created by ociplogon to each pages that I load after that.
> The problem is that when I print the result of an ociPlogon call, I've got:
>
> Resource id #3
>
> What does it mean?
> When I look in the PHP manual, the OCIPLogon function returns an "int",
> and not a "string" (Resource id #3)
you have to call ociplogon on all your pages using username
and password, php will internally reuse an existing
connection if possible.
tc
>
> If someone can explain me what mean "Resource id #3", I would be very pleased.
>
> Thanks
> Guillaume Duwelz-Rebert
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany