간단하게 파일을 쓰거나 읽는 함수입니다. 정보
PHP 간단하게 파일을 쓰거나 읽는 함수입니다.첨부파일
본문
            
            
                        간단하게 파일을 쓰거나 읽는 함수입니다.
file_get_contents는 아시는 분은 많지만
file_put_contents는 모르시는 분들도 있을 것이라고 생각이 드네요
$a = file_get_contents('http://www.test.com');
file_put_contents('./date/test_com.txt', $a);
                
                
                file_get_contents는 아시는 분은 많지만
file_put_contents는 모르시는 분들도 있을 것이라고 생각이 드네요
$a = file_get_contents('http://www.test.com');
file_put_contents('./date/test_com.txt', $a);
                        
                추천
                
8
                
    8
댓글 3개
                
                    감사합니다                
                
                
            
                    
                
                    오오~ 이런기능이 있었군요!                
                
                
            
                    
                
                    글이 두개 작성 되었네요