| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- MySQL 5.1.41
- epel repository
- CentOS 6
- Repository
- mod_unique_id
- unique_id
- gcc update
- httpd.conf
- python 3.X 소스 설치
- httpd 2.2.32
- httpd-vhosts.conf
- CentOS
- Node.js 소스 설치
- python 3.5.10
- httpd-default.conf
- vimrc 옵션
- jQuery
- PHP 5.2.17 .ini
- MySQL
- apache 연동
- httpd-autoindex.conf
- httpd-info.conf
- httpd-dav.conf
- CentOS 6.10
- vim color scheme
- Mod_Security 룰 셋
- Node.js apache 연동
- PHP 5.2 .ini
- node.js
- httpd-mpm.conf
- Today
- Total
목록Web Development/PHP (8)
곰시기's
function pageNav( $total_record, $page_scale, $thisPage ) { /* * $total_record : DB에 저장되어 있는 Row 수 COUNT한 값을 전달 받는다. * $page_scale : 한 page에 출력 될 글의 개수 * $nav_scale : page navigation 수 ex) 5면 >> 와 같은 형태로 출력 * $totalPage : 총 page 수 * $thisPage : 현재 page * $nav_start : page navigation의 시작 값 * $nav_final : page navigation의 종료 값 * $nav : navigation html * $disabledBtn : 현재 선택 페이지 표기 * $recordStart :..
function get_pdf_prop( $file ) { $f = fopen($file,'rb'); if( !$f ) return false; //Read the last 16KB fseek( $f, -16384, SEEK_END ); $s = fread( $f, 16384 ); //Extract cross-reference table and trailer if( !preg_match( "/xref[\r\n]+(.*)trailer(.*)startxref/s", $s, $a ) ) return false; $xref = $a[1]; $trailer = $a[2]; //Extract Info object number if( !preg_match( '/Info ([0-9]+) /', $trailer, $a ..
function fncCreateSelectBox( $name = "", $selectedOpt = "", $data ) { $optCnt = count( $title ); $dataType = strtoupper( gettype( $data ) ); $rtn = ""; switch( $dataType ) { case "INTEGER" : case "DOUBLE" : $data = ( int )$data; for( $i = 0; $i < $data; $i++ ) { $selected = ""; if( $i == $selectedOpt ) { $selected = "selected='selected'"; } $rtn .= "{$i}"; } break; case "ARRAY" : foreach( $data ..
function fncJsonEnc( $data ) { /* * $data : 사용자로 부터 받아오는 변수 * $get_type : $data type 확인 * $key, $k : 배열의 key * $val, $v : 배열의 value * $rtn : 반환 값 * $flag : 성공 실패 여부 */ $get_type = ""; $key = ""; $val = ""; $flag = false; $rtn = ""; $get_type = strtoupper( gettype( $data ) ); switch( $get_type ) { case "BOOLEAN" : return $data ? "true" : "false"; break; case "INTEGER" : case "DOUBLE" : return $da..