环境需求:安装oracle或者oracle客户端。
$orauser=”username”;$orapass=”password”;$oradb=”(description=(address_list=(address=(protocol=tcp)(host=数据库ip)(port=1521)))(connect_data=(s;$conn = ocilogon($orauser,$orapass,$oradb) or die( “oracle server未启动,请与系统管理员联系.”);
http://www.bkjia.com/phpjc/532408.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/532408.htmltecharticle环境需求:安装oracle或者oracle客户端。 $orauser=”username”; $orapass=”password”; $oradb=”(description=(address_list=(address=(protocol=tcp)(host=数据库ip)(port=1521…