質問編集履歴
1
DB接続文字列変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
/* --------------------------------------- */
|
15
15
|
/* データベースに接続 */
|
16
16
|
//oci_connect
|
17
|
-
$conn = oci_connect('
|
17
|
+
$conn = oci_connect('username','password',' (DESCRIPTION =(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ***.***.**.***)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = AAAA)))');
|
18
18
|
if(!$conn){
|
19
19
|
$e = oci_error();
|
20
20
|
trigger_error(htmlentities($e['message'],ENT_QUOTES),E_USER_ERROR);
|