엑셀(*.xls) 화일을 PHP에서 읽기
1. http://sourceforge.net/projects/phpexcelreader/ 에서 Spreadsheet_Excel_Reader를 다운 받습니다. 2. 소스를 보면 사용법은 그냥 알 수 있습니다. 3. 한글처리가 안되는 문제도 쉽게 발견할 수 있습니다. 4. 아래와 같이 사용하면 한글도 처리가 됩니다. <? require_once ‘Excel/reader.php’; $data = new Spreadsheet_Excel_Reader(); $data->setOutputEncoding(‘CP949’); // 이부분만 … Continue reading