R: [PHP-DB] logining into a remote Oracle 8.1.7 server
| From: | Roberto Sartor | Date: | Thu, 26 Oct 2000 15:12:03 +0000 |
| Subject: | R: [PHP-DB] logining into a remote Oracle 8.1.7 server | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-3956@lists.php.net to get a copy of this message | ||
You give it an alias name you build with sql*net easy configuration, which
you put in instance_name and service_name of your server.
Ciao
Roberto
> -----Messaggio originale-----
> Da: John Hockaday [mailto:johnh@erin.gov.au]
> Inviato: mercoledì 25 ottobre 2000 6.48
> A: php-db@lists.php.net
> Oggetto: [PHP-DB] logining into a remote Oracle 8.1.7 server
>
>
> Hi,
>
> I have just recently compiled PHP 4.0.2 with Oracle 8.1.7 using Aache
> 1.3.12 on a solaris 2.6 UNIX machine. I have oraclient
> software on our
> web server and our database on another machine. I have looked at the
> documentation on making a conection to an Oracle database but the
> parameters for OCILogon, OCIPLogon and OCINLogon don't accept the
> machine name that holds the database Ie.
>
> $c1 = ocilogon("user","password", "instance");
>
> Can someone give me an example of how to connect to a remote database
> using PHP and oracle 8i?
>
>
> Johnh
>
>
> --
> 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
>