====== PHP ====== [[blog:facebook_api_get_posting_4_php|]] {{tag>software_development PHP }} ===== 에러 표시하기 ===== HTTP 500 Server 에러 발생시 에러 확인할 수 있는 코드 ini_set('display_errors','true'); ===== 파일, 폴더 삭제 ===== $path = "relative_path/path"; del_path($path); function del_path($path) { $files = glob($path.'/*'); foreach($files as $file) { echo $file; if(is_file($file)) // Delete the given file unlink($file); else if(is_dir($file)) del_path($file); //rmdir($path); } } 파일 소유자, 그룹, Permission https://blog.naver.com/lbs8482/220962014710 ~~DISCUSSION~~