CI 묻고 답하기

제목 이상하게 5메가만 넘어가면 업로드가 안됩니다.
글쓴이 AMKORDB 작성시각 2014/10/29 13:15:34
댓글 : 2 추천 : 0 스크랩 : 0 조회수 : 12843   RSS
$config['upload_path'] 	 = '.업로드 주소.'/';  
			$config['allowed_types'] = '*';
	
			if (!is_dir($config['upload_path'])) {
	    	mkdir($config['upload_path']);
	    }
	 		$this->load->library('upload', $config);
	 		
	 		
		  if ( $this->upload->do_upload('fileToUpload1') ) {
			  $file_data  = $this->upload->data();
		    
		    $file_name  = $file_data['file_name'];   
		      
				 
				$sql_m = array(
					생략....
				);
				
				$this->mCommon->dataProcess("BBS_FILE",$sql_m,"","register");  //DB에 저장
		  }




여기 보시면 5메가 이하 파일은 잘 되는데 이상하게 5메가 이상 되면  

          if ( $this->upload->do_upload('fileToUpload1') ) {

여기에서 막히는겁니다.

왜이런거죠? ㅠ,ㅠ  서버쪽에 무슨 문제 있나요?

만약 서버 쪽에 문제 있으면 어떤 문제가 있는건지 ㅠ,ㅠ
 다음글 크롬 세션 질문 ~ (2)
 이전글 HMVC 사용 개발 중에 질문있습니다. (4)

댓글

kaido / 2014/10/29 13:20:25 / 추천 0
php 설정에 파일업로드 용량 설정이 있습니다.
AMKORDB / 2014/10/29 13:41:23 / 추천 0
감사합니다 ㅠ,ㅠ 창피하네요 ㅠ,ㅠ 이런걸로 질문하다니 ㅠ,ㅠ