본문 바로가기

반응형

분류 전체보기

(134)
PHP 접속주소를 HTTP에서 HTTPS로 강제 포워딩하기 사용자가 웹사이트 접속시 PHP에서 HTTP 대신 HTTPS로 포워딩하게 위한 안내입니다. 지난 몇 년 동안 HTTPS는 인기가 급상승했는데요. 특히 구글이 HTTP보다 HTTPS사이트의 순위에 대한 평점을 올리면서 더욱 증가하고 있습니다. 또한 쇼핑몰의 경우 개인정보를 이용안할시 과태료의 대상이 되기 때문에 꼭 사용 부탁드립니다. 포워딩 하는 방법에는 세가지 방법이 많이 사용됩니다. PHP코드를 사용하여 리디렉션 하거나 아파치의 설정을 변경하거나 아파치 모듈의 mod_rewrite을 사용하는 방법이 있습니다. (이건 .htaccess를 사용하셔도 됩니다.) 1. PHP의 사용 아래의 코드를 index.php의 가장 상단에 사용하시면 됩니다.
홈쇼핑 영상 녹화, 다운로드 서비스 [캐스트 레코드] http://castrecord.com 캐스트 레코드 - 모든 홈쇼핑 영상 녹화, 다운로드 서비스 Tasty Cake Lorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia neque assumenda ipsam nihil, molestias magnam, recusandae quos quis inventore quisquam velit asperiores, vitae? Reprehenderit soluta, eos quod consequuntur itaque. Nam. Close Win castrecord.com 홈쇼핑 방송영상을 예약녹화 할 수 있는 서비스가 오픈했습니다. 직접 하시는 방송을 놓쳤다거나, 방송파일을 MP4로 가지고 싶으신..
전국 행정구역별 좌표 CSV csv파일 입니다(UTF-8 / 컴마로분리) 참고하세요
[php] tcpdf와 fpdi를 같이 사용해서 기존 pdf위에 글씨 넣기 SetMargins(PDF_MARGIN_LEFT, 40, PDF_MARGIN_RIGHT);$pdf->SetAutoPageBreak(true, 40);$pagecount = $pdf->setSourceFile('a.pdf');for($i=1; $iaddPage(); $tplId = $pdf->importPage($i); $pdf->useTemplate($tplId); $pdf->SetTextColor(255,0,0); $pdf->SetXY(55,27); $pdf->Cell(30, 0, "test", 0, $ln=0, 'C', 0, '', 0, false, 'T', 'L'); }$pdf->Output('output.pdf', 'I');
[php] 네이버 클라우드 플랫폼 버킷목록 가져오기 require '/www/aws/aws-autoloader.php'; $accessKey = "key"; $secretKey = "secret"; use Aws\S3\S3Client; use Aws\S3\Exception\S3Exception; $credentials = new Aws\Credentials\Credentials($accessKey, $secretKey); $s3 = new S3Client([ 'version' => 'latest', 'region' => 'kr-standard', 'endpoint' => 'https://kr.object.ncloudstorage.com', 'credentials' => $credentials ]); $result = $s3->listBuckets([]);..
여행가기전 도로상황 CCTV로 확인하기 카카오맵이나 네이버맵등으로 도로상황등을 실시간으로 확인후 출발하세요.
php 오류 출력(error reporting) error_reporting(E_ALL); ini_set("display_errors", 1); 파일의 가장 상단에 위 내용을 추가해보자.
react native webVIew를 HOOK으로 호출할떄 ref사용방법 export default function App() { const wvRef = useRef(); return( ); function test(){ let text = "123123"; wvREF.current.injectJavaScript(`(function(){ window.alert('`+text+`'); })(); `); }; } HOOK형태로 사용할때는 current를 넣어주셔야 합니다. >_

반응형