-1) $key .= $numeric; //숫자 if (strpos($type,'az') > -1) $key .= $lowercase; //소문자 if (strpos($type,'AZ') > -1) $key .= $uppercase; //대문자 if (strpos($type,'$') > -1) $key .= $special; //특수문자 } for($i = 0; $i < $len; $i++) { $token .= $key[mt_rand(0, strlen($key) - 1)]; } return $token; } // 마이크로 타임을 얻어 계산 형식으로 만듦 function get_microtime() { list($usec, $sec) = explode(" ",microtime()); return ((float)$usec + (float)$sec); } function smtp_send($smtp="",$id="",$pw="",$body,$subject,$send_email,$send_name,$receive_email,$receive_name,$path="",$file_name=""){ require(dirname(__FILE__).'/../plugin/PHPMailer/PHPMailerAutoload.php'); $mail = new PHPMailer; $mail->CharSet = "utf-8"; $mail->Encoding = "base64"; if($smtp){ $mail->IsSMTP(); // telling the class to use SMTP $mail->Host = $smtp; // SMTP server $mail->SMTPDebug = 0; // enables SMTP debug information (for testing) // 1 = errors and messages // 2 = messages only $mail->SMTPAuth = true; // enable SMTP authentication $mail->Host = $smtp; // sets the SMTP server $mail->Username = $id; // SMTP account username $mail->Password = $pw; // SMTP account password $mail->SMTPSecure = "ssl"; // SSL을 사용함 $mail->Port = 25; // set the SMTP port for the GMAIL server $mail->SMTPOptions = array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ) ); } $mail->SetFrom($send_email, $send_name); $mail->AddReplyTo($send_email, $send_name); $mail->Subject = $subject; $mail->isHTML(true); $mail->Body = $body; $receive_email_array = explode(",",$receive_email); $receive_name_array = explode(",",$receive_name); if($path){ $file_path_array = explode(",",$path); $file_name_array = explode(",",$file_name); for($i=0;$iAddAttachment($file_path_array[$i],$file_name_array[$i]); // attachment } } for($i=0;$iClearAttachments(); // 첨부파일 초기화 $mail->ClearAddresses(); //주소초기화 $mail->Subject = $subject; $address = $receive_email_array[$i]; $r_name = $receive_name_array[$i]; $mail->AddAddress($address, $r_name); //$mail->AddAttachment("images/phpmailer_mini.gif"); // attachment if(!$mail->Send()) { echo "Mailer Error: " . $mail->ErrorInfo; //alert("메일발송이 실패했습니다."); exit; } else { //alert("메일 발송이 완료되었습니다.","/shop/main/html.php?&&htmid=proc/Gifts_02.htm"); //exit; } } } // 파일 업로드 function upload_img($value,$img_ext="",$location="",$erp_code="",$returnUrl="") { global $_FILES,$_config; $item_img = $_FILES[$value]['tmp_name']; $item_img_name = $_FILES[$value]['name']; $item_img_size = $_FILES[$value]['size']; $item_img_type = $_FILES[$value]['type']; $item_img_name=strtolower($item_img_name); if($item_img_size>0&&$item_img) { if(!is_uploaded_file($item_img)) alert("정상적인 방법으로 업로드 해주세요"); if($item_img_size>0) { if($_config['file_size'] < $item_img_size){ alert("업로드는 $_config[file_size_txt] 이하만 가능합니다.",$returnUrl); } $s_item_img_name=$item_img_name; //확장자 검사 $img_ext=($img_ext) ? $img_ext : $_config['upfile_ext']; if($img_ext) { $temp=explode(".",$s_item_img_name); $s_point=count($temp)-1; $upload_check=strtolower($temp[$s_point]); if(strpos($img_ext,$upload_check) === false) alert("업로드는 $img_ext 확장자만 가능합니다",$returnUrl); } @mkdir($_SERVER["DOCUMENT_ROOT"]."/data/", 0707); @chmod($_SERVER["DOCUMENT_ROOT"]."/data/", 0707); $location=($location) ? $location : $_SERVER["DOCUMENT_ROOT"]."/data/"; @mkdir($location, 0707); @chmod($location, 0707); $r_name = get_random_string("az09",10); //랜덤 파일명 생성 if($erp_code){ $erp_code = $erp_code."_"; } $s_file_name=$erp_code.$value."_".time().$r_name.".".$upload_check; $FileCnt = 0; while(file_exists($location."/".$s_file_name)) // 화일명이 중복되지 않을때 까지 반복 { $FileCnt++; $s_file_name = $value."_".time().$r_name."_".$FileCnt.".".$upload_check; } if(!move_uploaded_file($item_img,$location."/".$s_file_name)) { //echo $item_img." -> ".$location."/".$s_file_name; alert("파일업로드가 제대로 되지 않았습니다",$returnUrl); } $file_name=$location."/".$s_file_name; @chmod($file_name,0707); } $inputdata[filename]=$s_file_name; $inputdata[o_filename]=$item_img_name; $inputdata[locate]=$file_name; $inputdata[img_type]=$item_img_type; $inputdata[img_size]=$item_img_size; require $_SERVER["DOCUMENT_ROOT"].'/vendor/autoload.php'; $AwsLocation = str_replace("../","",$location); $sharedConfig = [ 'region' => 'ap-northeast-2', 'version' => 'latest', 'credentials' => [ 'key' => 'AKIAI2XX7Z4GQZGXI5MA', 'secret' => 'LPepwWR5hYxMLWI3kEh6wcfCIp5ekvl0fLkCga5N' ] ]; $s3 = new Aws\S3\S3Client($sharedConfig); $result = $s3->putObject([ 'Bucket' => 'monhome', 'Key' => $AwsLocation."/".$s_file_name, 'SourceFile' => '/var/www/html/'.$AwsLocation."/".$s_file_name, 'ContentType' => mime_content_type('/var/www/html/'.$AwsLocation."/".$s_file_name), 'ACL' => 'public-read' ]); @unlink($location."/".$s_file_name); } return $inputdata; } // 멀티 파일 업로드 function upload_multi_img($value,$file_type="",$location="",$count="") { global $_FILES,$_config; $item_img = $_FILES[$value][tmp_name][$count]; $item_img_name = $_FILES[$value][name][$count]; $item_img_size = $_FILES[$value][size][$count]; $item_img_type = $_FILES[$value][type][$count]; $item_img_name=strtolower($item_img_name); if($item_img_size>0&&$item_img) { if(!is_uploaded_file($item_img)) alert("정상적인 방법으로 업로드 해주세요"); if($item_img_size>0) { if($_config['file_size'] < $item_img_size){ alert("업로드는 $_config[file_size_txt] 이하만 가능합니다."); exit; } $s_item_img_name=$item_img_name; //확장자 검사 if($file_type=="img"){ $img_ext=$_config['upimg_ext']; }else{ $img_ext=$_config['upfile_ext']; } if($img_ext) { $temp=explode(".",$s_item_img_name); $s_point=count($temp)-1; $upload_check=strtolower($temp[$s_point]); if(strpos($img_ext,$upload_check) === false) alert("업로드는 $img_ext 확장자만 가능합니다"); } @mkdir($_SERVER["DOCUMENT_ROOT"]."/data/", 0707); @chmod($_SERVER["DOCUMENT_ROOT"]."/data/", 0707); $location=($location) ? $location : $_SERVER["DOCUMENT_ROOT"]."/data/"; @mkdir($location, 0707); @chmod($location, 0707); $r_name = get_random_string("az09",10); //랜덤 파일명 생성 $s_file_name=$value."_".time().$r_name.".".$upload_check; $FileCnt = 0; while(file_exists($location."/".$s_file_name)) // 화일명이 중복되지 않을때 까지 반복 { $FileCnt++; $s_file_name = $value."_".time().$r_name."_".$FileCnt.".".$upload_check; } if(!move_uploaded_file($item_img,$location."/".$s_file_name)) { //echo $item_img." -> ".$location."/".$s_file_name; alert("파일업로드가 제대로 되지 않았습니다"); } $file_name=$location."/".$s_file_name; @chmod($file_name,0707); } $inputdata['filename']=$s_file_name; $inputdata['o_filename']=$item_img_name; $inputdata['file_type']=$item_img_type; $inputdata['file_size']=$item_img_size; $AwsLocation = str_replace("../","",$location); require $_SERVER["DOCUMENT_ROOT"].'/vendor/autoload.php'; $sharedConfig = [ 'region' => 'ap-northeast-2', 'version' => 'latest', 'credentials' => [ 'key' => 'AKIAI2XX7Z4GQZGXI5MA', 'secret' => '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' ] ]; $s3 = new Aws\S3\S3Client($sharedConfig); $result = $s3->putObject([ 'Bucket' => 'monhome', 'Key' => $AwsLocation."/".$s_file_name, 'SourceFile' => '/var/www/html/'.$AwsLocation."/".$s_file_name, 'ContentType' => mime_content_type('/var/www/html/'.$AwsLocation."/".$s_file_name), 'ACL' => 'public-read' ]); @unlink($location."/".$s_file_name); } return $inputdata; } // 엑셀 파일 업로드 function xls_upload($value,$img_ext="",$location="",$erp_code="") { global $_FILES,$_config; $item_img = $_FILES[$value]['tmp_name']; $item_img_name = $_FILES[$value]['name']; $item_img_size = $_FILES[$value]['size']; $item_img_type = $_FILES[$value]['type']; $item_img_name=strtolower($item_img_name); if($item_img_size>0&&$item_img) { if(!is_uploaded_file($item_img)) alert("정상적인 방법으로 업로드 해주세요"); if($item_img_size>0) { $s_item_img_name=$item_img_name; //확장자 검사 $img_ext="xls,xlsx"; if($img_ext) { $temp=explode(".",$s_item_img_name); $s_point=count($temp)-1; $upload_check=strtolower($temp[$s_point]); if(strpos($img_ext,$upload_check) === false) alert("업로드는 $img_ext 확장자만 가능합니다"); } @mkdir($_SERVER["DOCUMENT_ROOT"]."/data/", 0707); @chmod($_SERVER["DOCUMENT_ROOT"]."/data/", 0707); $location=($location) ? $location : $_SERVER["DOCUMENT_ROOT"]."/data/"; @mkdir($location, 0707); @chmod($location, 0707); $r_name = get_random_string("az09",10); //랜덤 파일명 생성 if($erp_code){ $erp_code = $erp_code."_"; } $s_file_name=$erp_code.$value."_".time().$r_name.".".$upload_check; $FileCnt = 0; while(file_exists($location."/".$s_file_name)) // 화일명이 중복되지 않을때 까지 반복 { $FileCnt++; $s_file_name = $value."_".time().$r_name."_".$FileCnt.".".$upload_check; } if(!move_uploaded_file($item_img,$location."/".$s_file_name)) { //echo $item_img." -> ".$location."/".$s_file_name; alert("파일업로드가 제대로 되지 않았습니다"); } $file_name=$location."/".$s_file_name; @chmod($file_name,0707); } $inputdata[filename]=$s_file_name; $inputdata[o_filename]=$item_img_name; $inputdata[locate]=$file_name; $inputdata[img_type]=$item_img_type; $inputdata[img_size]=$item_img_size; } return $inputdata; } // 쿠키변수 생성 function set_cookie($cookie_name, $value, $expire) { global $gh; setcookie(md5($cookie_name), base64_encode($value), GH_SERVER_TIME + $expire, '/', GH_COOKIE_DOMAIN); } // 쿠키변수값 얻음 function get_cookie($cookie_name) { $cookie = md5($cookie_name); if (array_key_exists($cookie, $_COOKIE)) return base64_decode($_COOKIE[$cookie]); else return ""; } function escape_trim($field) { $str = call_user_func(GH_ESCAPE_FUNCTION, $field); return $str; } // XSS 관련 태그 제거 function clean_xss_tags($str) { $str = preg_replace('#]*+>#i', '', $str); return $str; } //쿠키저장 function here_setcookie($name, $value, $expire, $path='/'){ if (headers_sent()) { $cookie = $name.'='.urlencode($value).';'; if ($expire) $cookie .= ' expires='.gmdate('D, d M Y H:i:s', $expire).' GMT'; if ($expire==1) $cookie .= ' expires='.date('D, d M Y H:i:s', strtotime("+30 day")).' GMT'; echo ''; } else { setcookie($name, $value, $expire, $path); } } // 한글 한글자(2byte, 유니코드 3byte)는 길이 2, 공란.영숫자.특수문자는 길이 1 function cut_str($str, $len, $suffix="…") { global $gh; $str = strip_tags(str_replace(" ","",$str)); if (strtoupper($gh['charset']) == 'UTF-8') { $c = substr(str_pad(decbin(ord($str{$len})),8,'0',STR_PAD_LEFT),0,2); if ($c == '10') for (;$c != '11' && $c{0} == 1;$c = substr(str_pad(decbin(ord($str{--$len})),8,'0',STR_PAD_LEFT),0,2)); return substr($str,0,$len) . (strlen($str)-strlen($suffix) >= $len ? $suffix : ''); } else { $s = substr($str, 0, $len); $cnt = 0; for ($i=0; $i 127) $cnt++; $s = substr($s, 0, $len - ($cnt % 2)); if (strlen($s) >= strlen($str)) $suffix = ""; return $s . $suffix; } } function goto_url($url) { echo ""; exit; } // 경고메세지를 경고창으로 function alert($msg='', $url='') { global $g4; if (!$msg) $msg = '올바른 방법으로 이용해 주십시오.'; //header("Content-Type: text/html; charset=$g4[charset]"); echo ""; echo ""; if ($url) // 4.06.00 : 불여우의 경우 아래의 코드를 제대로 인식하지 못함 //echo ""; goto_url($url); exit; } // 현재페이지, 총페이지수, 한페이지에 보여줄 행, URL function get_paging($write_pages, $cur_page, $total_page, $url, $add="") { $str = ""; if ($cur_page > 1) { $str .= "처음"; //$str .= "[이전]"; } $start_page = ( ( (int)( ($cur_page - 1 ) / $write_pages ) ) * $write_pages ) + 1; $end_page = $start_page + $write_pages - 1; if ($end_page >= $total_page) $end_page = $total_page; if ($start_page > 1) $str .= "  이전"; if ($total_page > 1) { for ($k=$start_page;$k<=$end_page;$k++) { if ($cur_page != $k) $str .= "  $k"; else $str .= "  $k "; } } if ($total_page > $end_page) $str .= "  다음"; if ($cur_page < $total_page) { //$str .= "[다음]"; $str .= "  맨끝"; } $str .= ""; return $str; } // 현재페이지, 총페이지수, 한페이지에 보여줄 행, URL function get_user_paging($write_pages, $cur_page, $total_page, $url, $add="") { $str = ""; /* if ($cur_page > 1) { $str .= ' '; }else{ $str .= ' '; } */ $start_page = ( ( (int)( ($cur_page - 1 ) / $write_pages ) ) * $write_pages ) + 1; $end_page = $start_page + $write_pages - 1; if ($end_page >= $total_page) $end_page = $total_page; if ($start_page > 1) { $str .= ' '; }else{ $str .= ' '; } if ($total_page > 1) { for ($k=$start_page;$k<=$end_page;$k++) { if ($cur_page != $k) $str .= ''.$k.' '; else $str .= ''.$k.' '; } }else{ $str .= '1'; } if ($total_page > $end_page){ $str .= ' '; }else{ $str .= ' '; } /* if ($cur_page < $total_page) { $str .= ' '; }else{ $str .= ' '; } */ $str .= ""; return $str; } // 3.31 // HTML SYMBOL 변환 //   & · 등을 정상으로 출력 function html_symbol($str) { return preg_replace("/\&([a-z0-9]{1,20}|\#[0-9]{0,3});/i", "&\\1;", $str); } // TEXT 형식으로 변환 function get_text($str, $html=0) { /* 3.22 막음 (HTML 체크 줄바꿈시 출력 오류때문) $source[] = "/ /"; $target[] = "  "; */ // 3.31 // TEXT 출력일 경우 &   등의 코드를 정상으로 출력해 주기 위함 if ($html == 0) { $str = html_symbol($str); } $source[] = "//"; $target[] = ">"; //$source[] = "/\"/"; //$target[] = """; $source[] = "/\'/"; $target[] = "'"; //$source[] = "/}/"; $target[] = "}"; if ($html) { $source[] = "/\n/"; $target[] = "
"; } return preg_replace($source, $target, $str); } // CHARSET 변경 : euc-kr -> utf-8 function iconv_utf8($str) { return iconv('euc-kr', 'utf-8', $str); } // CHARSET 변경 : utf-8 -> euc-kr function iconv_euckr($str) { return iconv('utf-8', 'euc-kr', $str); } //관리자 페이지 접근 권한 체크 function author_chk($basic_author,$level,$page_number="",$admin_auth=""){ global $pn; if($level < 10){//서브 관리자는 페이지 접근 권한 체크 $basic_author = explode(",",$basic_author); for($i=0;$i$val){ if($exception){ if(in_array($key,$exception)){ continue; } } $qstring .= "$key=$val&"; } return $qstring; } function aws_del($file_path){//aws 서버 파일 삭제 require $_SERVER["DOCUMENT_ROOT"].'/vendor/autoload.php'; $sharedConfig = [ 'region' => 'ap-northeast-2', 'version' => 'latest', 'credentials' => [ 'key' => 'AKIAI2XX7Z4GQZGXI5MA', 'secret' => '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' ] ]; $s3 = new Aws\S3\S3Client($sharedConfig); if($file_path){ $result = $s3->deleteObject([ 'Bucket' => 'monhome', 'Key' => $file_path, ]); } } function monamiErrorHandler($errno, $errstr) { $_SESSION['error_string'] = $errstr; goto_url("/system.php"); } function clientRealIp() { if (isset($_SERVER['HTTP_CLIENT_IP']) && array_key_exists('HTTP_CLIENT_IP', $_SERVER)) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER)) { $ips = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']); $ips = array_map('trim', $ips); $ip = $ips[0]; } else { $ip = $_SERVER['REMOTE_ADDR'] ?? '0.0.0.0'; } $ip = filter_var($ip, FILTER_VALIDATE_IP); $ip = ($ip === false) ? '0.0.0.0' : $ip; return $ip; } ?>$val){ if(is_array($val)){ for($i=0;$i "02", "031" => "031", "032" => "032", "032" => "032", "033" => "033", "041" => "041", "042" => "042", "043" => "043", "051" => "051", "052" => "052", "053" => "053", "054" => "054", "055" => "055", "061" => "061", "062" => "062", "063" => "063", "064" => "064" ); $_phone = array( "010" => "010", "011" => "011", "016" => "016", "017" => "017", "018" => "018", "019" => "019", ); $_email = array( ""=>"직접입력", "naver.com" => "naver.com", "hanmail.net" => "hanmail.net", "nate.com" => "nate.com", "gmail.com" => "gmail.com", ); $_week = array( 0=>"일", 1=>"월", 2=>"화", 3=>"수", 4=>"목", 5=>"금", 6=>"토", ); $_area = array( "서울"=>"서울", "경기"=>"경기", "강원"=>"강원", "충남"=>"충남", "충북"=>"충북", "인천"=>"인천", "전남"=>"전남", "전북"=>"전북", "울산"=>"울산", "대구"=>"대구", "대전"=>"대전", "경북"=>"경북", "경남"=>"경남", "부산"=>"부산", "제주"=>"제주", "세종"=>"세종", "광주"=>"광주", ); //CONTACT US 발송용 이메일 $_config['r_email_kr'] = "help2@monami.com"; $_config['r_email_en'] = "monami_salesglobal@monami.com"; //$_config['r_email_en'] = "monamiglobal@monami.com"; $_config['r_email_mpms'] = "coservice@monami.com"; $_mpmsCate = array( //MPMS 메인 노출 카테고리 1 => "Promotion Design", 2 => "Monami Pen", ); $_portfolioCate = array( //MPMS 포트폴리오 1Depth분류 "001" => "Promotion Design", "002" => "Monami Pen", ); $_portfolioCate2 = array( //MPMS 포트폴리오 2Depth분류 "001001" => "Bag · Pouch", "001002" => "Stationery", "001003" => "Living", ); //-------------------- 관리자 메뉴 --------------------------------------- $_pageNumber = array(// 게시판 페이지 넘버 "catalogue"=>"21", "catalogue_en"=>"22", "museum"=>"23", "event"=>"24", "bodo"=>"25", "bodo_en"=>"26", "vod"=>"27", "vod_en"=>"28", ); $_level_txt = array( 10=> "메인관리자", 2=> "서브관리자", ); $admin_menu_depth1 = array( 1 => "관리자관리", 2 => "게시판관리", 3 => "제품관리", 4 => "REQUEST 관리", 6 => "MPMS 관리", 7 => "코스메틱 관리", //5 => "팝업관리", ); $admin_menu_depth2[1] = array( array("관리자관리", $admin_dir."/member/manager_list.php?pn=1&sn=1"), ); $admin_menu_depth2[2] = array( array("E-카달로그", $admin_dir."/board/board_list.php?bo_table=catalogue&pn=2&sn=1"), array("E-카달로그(영문)", $admin_dir."/board/board_list.php?bo_table=catalogue_en&pn=2&sn=2"), array("문구박물관", $admin_dir."/board/board_list.php?bo_table=museum&pn=2&sn=3"), array("이벤트", $admin_dir."/board/board_list.php?bo_table=event&pn=2&sn=4"), array("보도자료", $admin_dir."/board/board_list.php?bo_table=bodo&pn=2&sn=5"), array("보도자료(영문)", $admin_dir."/board/board_list.php?bo_table=bodo_en&pn=2&sn=6"), array("동영상자료", $admin_dir."/board/board_list.php?bo_table=vod&pn=2&sn=7"), array("동영상자료(영문)", $admin_dir."/board/board_list.php?bo_table=vod_en&pn=2&sn=8"), ); $admin_menu_depth2[3] = array( array("제품 관리", $admin_dir."/product/product_list.php?pn=3&sn=1"), array("제품 관리(영문)", $admin_dir."/product/product_en_list.php?pn=3&sn=2"), array("메인 신제품 관리", $admin_dir."/product/main_list.php?cate=1&pn=3&sn=3"), array("메인 신제품 관리(모바일)", $admin_dir."/product/main_list.php?cate=2&pn=3&sn=4"), array("메인 신제품 관리(영문)", $admin_dir."/product/main_list.php?cate=3&pn=3&sn=5"), array("메인 신제품 관리(영문 모바일)", $admin_dir."/product/main_list.php?cate=4&pn=3&sn=6"), array("카테고리 관리", $admin_dir."/product/category_list.php?pn=3&sn=7"), array("카테고리 관리(영문)", $admin_dir."/product/category_en_list.php?pn=3&sn=8"), array("INK COLOR 관리", $admin_dir."/product/ink_list.php?pn=3&sn=9"), array("BODY COLOR 관리", $admin_dir."/product/body_list.php?pn=3&sn=10"), array("NIB TYPE 관리", $admin_dir."/product/nib_list.php?pn=3&sn=11"), ); $admin_menu_depth2[4] = array( array("문의하기관리", $admin_dir."/request/request_list.php?pn=4&sn=1"), array("문의하기관리(영문)", $admin_dir."/request/request_en_list.php?pn=4&sn=2"), array("문의유형담당자관리", $admin_dir."/request/request_prsn_list.php?pn=4&sn=3"), ); $admin_menu_depth2[6] = array( array("메인 관리", $admin_dir."/mpms/main_list.php?pn=6&sn=1"), array("포트폴리오 관리", $admin_dir."/mpms/portfolio_list.php?pn=6&sn=2"), array("포트폴리오 순서 관리", $admin_dir."/mpms/portfolio_sort.php?pn=6&sn=3"), array("아티스트 관리", $admin_dir."/mpms/artist_list.php?pn=6&sn=4"), array("문의관리", $admin_dir."/mpms/request_list.php?pn=6&sn=5"), ); $admin_menu_depth2[7] = array( array("공지사항 관리", $admin_dir."/cosmetics/notice_list.php?pn=7&sn=1"), ); $admin_menu_depth2[5] = array( array("팝업관리", $admin_dir."/popup/popup_list.php?pn=5&sn=1"), ); //--------------------------------------------------------------------------- //------------ 자주쓰는 쿼리스트링 모음 및 초기화 ------------ $qstring = ""; if ($_REQUEST["pn"]!=""){ $pn = $_REQUEST["pn"]; $qstring=$qstring."&pn=".$pn; } if ($_REQUEST["sn"]!=""){ $sn = $_REQUEST["sn"]; $qstring=$qstring."&sn=".$sn; } if ($_REQUEST["sn2"]!=""){ $sn2 = $_REQUEST["sn2"]; $qstring=$qstring."&sn2=".$sn2; } if(!$_REQUEST["pg"]){ $pg = 1; } $bindName = array(); $inputs = array(); //------------------------------------------------------- $_Aws_url = "https://dfrkkcv2hg1jc.cloudfront.net"; ?> db = oci_connect($this->user, $this->password, $this->host,'AL32UTF8'); restore_error_handler(); } } ?>
Fatal error: Uncaught Error: Class 'CONN' not found in /var/www/html/include/common/common.php:30 Stack trace: #0 /var/www/html/default.php(2): include_once() #1 {main} thrown in /var/www/html/include/common/common.php on line 30