ociplogon

(PHP 3 >= 3.0.8, PHP 4, PHP 5)

ociplogon --  ʹÓÃÒ»¸ö³ÖÐøÐÔÁ¬½ÓÁ¬µ½ Oracle Êý¾Ý¿â

ÃèÊö

resource ociplogon ( string username, string password [, string db] )

ociplogon() ´´½¨Ò»¸öµ½ Oracle 8 Êý¾Ý¿âµÄ³ÖÐøÐÔÁ¬½Ó¡£ ¿ÉÑ¡µÄµÚ3¸ö²ÎÊýº¬ÓÐÄãÏëÒªÁ¬½ÓµÄÊý¾Ý¿âµÄÃû×Ö£¬¸ÃÃû×ÖΪ±¾µØ Oracle ʵÁеÄÃû×Ö»òÕßÔÚ tnsnames.ora µÄÌõÄ¿ÖеÄÃû×Ö¡£ Èç¹ûµÚ3¸ö²ÎÊýûÓж¨Ò壬 PHP ʹÓû·¾³±äÁ¿ ORACLE_SID (Oracle ʵÁÐ) »ò TWO_TASK (tnsnames.ora) À´È·¶¨Á¬½ÓÄÄÒ»¸öÊý¾Ý¿â¡£

²Î¼û ocilogon() ºÍ ocinlogon()¡£