4,328
社区成员
发帖
与我相关
我的任务
分享
public function connect_orcale()
{
$db="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=".$this->DBHOST.")(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=".$this->DBNAME.")))";
$this->c=oci_connect($this->DBUSR,$this->DBPWD,$db,"UTF8");
}