반응형

분류 전체보기 193

php 다중파일 업로드시 20개 이상 올라가지 않을 경우

php.ini 파일에서 max_file_uploads 숫자를 늘려주면 된다. 기본값 : 20 max_file_uploads = 20 * 관련 설정 ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; ; Whether to allow HTTP file uploads. ; http://php.net/file-uploads file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ; http://php.net/upload-tmp-dir ;upload_tmp_dir = ; Maximum allowed size for uploaded f..

카테고리 없음 2020.11.11

php fsockopen으로 https 페이지 가져오기

fsockopen("ssl://abc.co.kr", 443); host는 ssl:// 로 시작해야 하고, 포트번호는 443으로 설정한다. * https fsockopen 예제 function get_surl($url) { $url = parse_url($url); if($url[path] == "") $url[path] = "/"; if($fp = fsockopen("ssl://" . $url[host], 443, $errno, $errstr, 3)) { $msg = "GET " . $url[path] . " HTTP/1.1" . "\r\n"; $msg .= "Host: " . $url[host] . "\r\n"; $msg .= "User-Agent: Mozilla/5.0 (Windows NT 10.0;..

카테고리 없음 2020.11.09

TEXTAREA 높이 자동조절

$("textarea").each(function() { var offset = this.offsetHeight - this.clientHeight; var resizeTextarea = function(el) { $(el).css('height', 'auto').css('height', el.scrollHeight + offset); }; $(this).on('keyup input focusin', function() { resizeTextarea(this); }); }); 2023.02.20 - [분류 전체보기] - textarea 크기 조절 방지하기 - css textarea 크기 조절 방지하기 - css 크기 조절 방지 높이만 조절 가능 넑이만 노절 가능 2020.09.28 - [분류 전체보기] ..

카테고리 없음 2020.09.28
반응형