note 27061 added to function.ociplogon
| From: | M0no at ethonfusino dot com | Date: | Thu, 21 Nov 2002 16:04:59 +0000 |
| Subject: | note 27061 added to function.ociplogon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39817@lists.php.net to get a copy of this message | ||
If your oracle database is on a remote system within your local network and you don't want to
worry about the tnsnames file you can try this.
$db = "(DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.XX.XXX)(PORT =
1521)))(CONNECT_DATA=(SID=XXXX)))";
$c1 = ocilogon("name","password",$db);
Hope this helps someone.
--
http://www.php.net/manual/en/function.ociplogon.php
http://master.php.net/manage/user-notes.php?action=edit+27061
http://master.php.net/manage/user-notes.php?action=delete+27061
http://master.php.net/manage/user-notes.php?action=reject+27061