BLOG main image
분류 전체보기 (24)
산행기 (6)
여행기 (0)
독후감 (1)
Computation (9)
기타 (2)
web 2.0 (1)
Javascript (0)
사람사는세상 (2)
jQuery (1)
건강하게삽시다 (0)
경제 (0)
64,050 Visitors up to today!
Today 0 hit, Yesterday 0 hit
daisy rss
tistory 티스토리 가입하기!
2009. 6. 10. 12:07


<?
$today=date('Ymd');
$file_name=$today.".xls"; //저장할 파일이름
header( "Content-type: application/octet-stream;charset=KSC5601");
header( "Content-Disposition: attachment; filename=$file_name" );
header("Content-Type: application/ms-excel");
header("Pragma: no-cache");
header("Expires: 0");
//header( "Content-Description: PHP4 Generated Data" );

echo '<?xml version="1.0" encoding="EUC-KR"?>';
?>


<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
 xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:html="http://www.w3.org/TR/REC-html40"> 
 <Worksheet ss:Name="aa">
  <Table>
    <Row>
    <Cell><Data ss:Type="String">a11</Data></Cell>
    <Cell><Data ss:Type="String">a12</Data></Cell>
    <Cell><Data ss:Type="String">a13</Data></Cell>
    </Row>
    <Row>
    <Cell><Data ss:Type="String">a21</Data></Cell>
    <Cell><Data ss:Type="String">a22</Data></Cell>
    <Cell><Data ss:Type="String">a23</Data></Cell>
    </Row>
  </Table>
 </Worksheet>
 <Worksheet ss:Name="bb">
  <Table>
    <Row>
    <Cell><Data ss:Type="String">b11</Data></Cell>
    <Cell><Data ss:Type="String">b12</Data></Cell>
    <Cell><Data ss:Type="String">b13</Data></Cell>
    </Row>
    <Row>
    <Cell><Data ss:Type="String">b21</Data></Cell>
    <Cell><Data ss:Type="String">b22</Data></Cell>
    <Cell><Data ss:Type="String">b23</Data></Cell>
    </Row>
  </Table>
 </Worksheet>
</Workbook>

jual blazer korea online murah | 2012.12.03 16:31 | PERMALINK | EDIT/DEL | REPLY
블로그에 realy 있는지,하지만 realy 내용을 좋아 아닙니다. 최고 품질 여기 읽어보십시오.
Name
Password
Homepage
Secret