RE: [phplib-dev] :PLEASE HELP ABOUT ORACLE CONNECTION From: Arslan Bahar (abahar <email protected>)
Date: 07/18/00

-----Original Message-----
From: Jesse Swensen [mailto:swensenj <email protected>]
Sent: Tuesday, July 18, 2000 2:01 PM
To: Arslan Bahar; phplib-dev <email protected>
Subject: Re: [phplib-dev] :PLEASE HELP ABOUT ORACLE CONNECTION

on 7/18/00 6:53 AM, Arslan Bahar at abahar <email protected> wrote:

>
> hello. I am using PWS and i installed php3 on my machine.
> when i try to execute code which was written below occur tih
rror ----->
> "Fatal error: Call to unsupported or undefined function ocilogon() in
> c:\inetpub\wwwroot/ORALOGON.PHP3 on line 5"
>
> <?php
> print "<HTML><PRE>";
> $db = "zorg";
> $c1 = ocilogon("ARSLAN","A",$db);
> $stmt = ociparse($conn,"select ENAME from scott.hallo");
> ociexecute($stmt,OCI_DEFAULT);
> echo $conn."----selecting\n\n";
> while (ocifetch($stmt))
> {
> echo $conn." <".ociresult($stmt,"TEST").">\n\n";
> echo $conn."----done\n\n";
> }
> print "</PRE></HTML>";
> ?>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
> For additional commands, e-mail: phplib-dev-help <email protected>
>
>

This usually is a result of not compiling PHP with the Oracle libraries.

--
Jesse Swensen
swensenj <email protected>

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected> For additional commands, e-mail: phplib-dev-help <email protected>

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected> For additional commands, e-mail: phplib-dev-help <email protected>