cvs: phpdoc-zh /reference/oracle/functions ora-logon.xml

From: Date: Fri, 25 Oct 2002 06:29:38 +0000
Subject: cvs: phpdoc-zh /reference/oracle/functions ora-logon.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-748@lists.php.net to get a copy of this message
yincheng Fri Oct 25 02:29:38 2002 EDT Added files: /phpdoc-zh/reference/oracle/functions ora-logon.xml Log: ok Index: phpdoc-zh/reference/oracle/functions/ora-logon.xml +++ phpdoc-zh/reference/oracle/functions/ora-logon.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- $Author: yincheng $ --> <!-- EN-Revision: 1.3 Maintainer: yincheng Status: ready --> <!-- splitted from ./en/functions/oracle.xml, last change in rev 1.5 --> <refentry id="function.ora-logon"> <refnamediv> <refname>Ora_Logon</refname> <refpurpose>´ò¿ªÒ»¸ö Oracle Á¬½Ó</refpurpose> </refnamediv> <refsect1> <title>ÃèÊö</title> <methodsynopsis> <type>int</type><methodname>ora_logon</methodname> <methodparam><type>string</type><parameter>user</parameter></methodparam> <methodparam><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> <para> Óøø¶¨µÄÓû§ÃûºÍÃÜÂëÔÚ PHP ºÍÒ»¸ö Oracle Êý¾Ý¿âÖ®¼ä½¨Á¢Ò»¸öÁ¬½Ó¡£ </para> <para> ¿ÉÒÔͨ¹ýʹÓà <acronym>TNS</acronym> Ãû×÷Ϊ²ÎÊý <parameter>user</parameter> À´Ê¹Óà <productname>SQL*Net</productname> ½¨Á¢Á¬½Ó¡£Çë¿´ÏÂÃæµÄʾÀý£º <informalexample> <programlisting role="php"> <![CDATA[ $conn = Ora_Logon("user@TNSNAME", "pass"); ]]> </programlisting> </informalexample> </para> <para> Èç¹ûÒªÔÚ×Ö·ûÊý¾ÝÖÐʹÓÃ·Ç ASCII ×Ö·û£¬Ôò±ØÐëÔÚ»·¾³±äÁ¿ÖÐÉèÖà <envar>NLS_LANG</envar>¡£ ¾Í·þÎñÆ÷¶øÑÔ£¬±ØÐëÔÚ·þÎñÆ÷Æô¶¯Ö®Ç°ÉèÖà <envar>NLS_LANG</envar> ·þÎñÆ÷»·¾³±äÁ¿¡£ </para> <para> Èç¹ûÁ¬½Ó³É¹¦Ôò·µ»ØÁ¬½ÓË÷Òý£¬Èç¹û²»ÄÜÁ¬½ÓÔò·µ»Ø FALSE¡£´íÎóµÄϸ½ÚÄܹ»Ê¹Óà <function>ora_error</function> ºÍ <function>ora_errorcode</function> º¯ÊýÈ¡µÃ¡£ </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.zh (#748) next »