ini 썸네일형 리스트형 php_value 값 설정하기 apache 설정을 바꾸지 않더라도 .htaccess 파일을 사용한다면 여기에 설정을 넣어줄 수 있음. upload_max_filesize 이러한 변수들은 ini_set 함수를 사용해서 설정을 해줄수가 없음. http://php.net/manual/en/ini.list.php - ini 설정값들http://php.net/manual/en/configuration.changes.modes.php - 설정값 변경해줄 위치들 upload_max_filesize 값의 경우 PHP_INI_PERDIR 에 속하기 때문에"Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini (since PHP 5.3)"php.ini .htaccess httpd.conf ... 더보기 [PHP] date 함수 사용시 경고.. Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. 위와 같은 경고가 뜬다면.. php.ini 파일에서 date.timezone을 설정해주면됨. 주석 제거를 한 후 asia/seoul을 입력해주고 서버 재시작. date.timezone=asia/seoul 더보기 [PHP] Write ini file function write_ini_file($assoc_arr, $path, $has_sections=FALSE) { $content = ""; if ($has_sections) { foreach ($assoc_arr as $key=>$elem) { $content .= "[".$key."]\n"; foreach ($elem as $key2=>$elem2) { if(is_array($elem2)) { for($i=0;$i$elem) { if(is_array($elem)) { for($i=0;$i array( 'first-1' => 1, 'first-2' => 2, 'first-3' => 3, 'first-4' => 4, 'first-5' => 5, ), 'second' => array( 'second-1.. 더보기 이전 1 다음