<기존 php 5.2>
<?php
//error_reporting(E_ALL);
//ini_set('display_errors', 1);
$DB_id = "op_qric";
$DB_pw = "gammac0818" ;
$DB_name = "op_qric";
@$mysql_con = mysql_connect('localhost', $DB_id, $DB_pw);
mysql_select_db($DB_name);
$dir = "main/qric" ;
include_once $_SERVER['DOCUMENT_ROOT'] . "/$dir/lib.php3" ;
$url_flag = $_SERVER['HTTP_HOST'];
// 오렌지메세지에서 발급한 API KEY
$kakao_orange_key = "" ;
$kakao_sender = "" ; // 오렌지메세지 사이트에서 등록하신 발신번호를 넣어주세요. ( 하이픈까지 일치해야 합니다 )
$q = " select * from QR_OM_MEMBER order by number desc limit 1 " ;
$r = mysql_query($q);
$WNW = mysql_fetch_array($r);
$WO_company_tel = $WNW[WO_company_tel];
<변경 7.3>
<?php
//error_reporting(E_ALL);
//ini_set('display_errors', 1);
$DB_id = "op_qric";
$DB_pw = "gammac0818" ;
$DB_name = "op_qric";
@$mysql_con = mysqli_connect('localhost', $DB_id, $DB_pw);
mysqli_select_db($mysql_con, $DB_name);
$dir = "main/gammac" ;
include_once $_SERVER['DOCUMENT_ROOT'] . "/$dir/lib.php3" ;
$url_flag = $_SERVER['HTTP_HOST'];
// 오렌지메세지에서 발급한 API KEY
$kakao_orange_key = "" ;
$kakao_sender = "" ; // 오렌지메세지 사이트에서 등록하신 발신번호를 넣어주세요. ( 하이픈까지 일치해야 합니다 )
$q = " select * from OM_MEMBER order by number desc limit 1 " ;
$r = mysqli_query($mysql_con, $q);
$WNW = mysqli_fetch_array($r);
$WO_company_tel = $WNW['WO_company_tel'];
'On-premise > php' 카테고리의 다른 글
| php 5.3 설치 (imap 설치) (mysql 5.5 / apache 2.2 와 연동) (0) | 2023.11.07 |
|---|---|
| php 모듈 설치 ssh2 & opcache & imagick & memcached & redis & sodium (0) | 2023.11.07 |
| php oci8 모듈 설치 (소스컴파일) (0) | 2023.11.07 |
| PHP 5.3.3 소스 설치 (MySQL 5.1) (0) | 2023.11.07 |
| php 8.1 설치 (0) | 2023.11.07 |