肉色超薄丝袜脚交一区二区,香蕉久久av一区二区三区,男人进入女人下部视频,被几个人强的好爽小说

中山php|最優(yōu)網(wǎng)絡(luò)中山做網(wǎng)站 中山php建站

最優(yōu)良人

Posts Tagged With: word

php生成excel或者word文檔最簡(jiǎn)單的方法

2011/09/29 at 16:29 » Comments (3,306)

以下代碼實(shí)現(xiàn)簡(jiǎn)單輸出表格或者word文檔,如生成一個(gè)兩列的excel文檔,改動(dòng)相應(yīng)文件頭為 header("Content-type:application/vnd.msword"); header("Content-Disposition:filename=test.doc"); 就可以輸出.doc .xls等文件格式了 header("Content-type:application/vnd.ms-excel"); header("Content-Disposition:filename=test.xls"); echo "test1\t"; echo "test2\t\n"; //兩列之后換行 echo "test1\t"; echo "test2\t\n"; echo "test1\t"; echo "test2\t\n"; echo "test1\t"; echo "test2\t\n"; echo "test1\t"; echo "test2\t\n"; echo "test1\t"; echo "test2\t\n"; 附一個(gè)文件格式對(duì)應(yīng)的數(shù)組 $mime_types = array( 'gif' => 'image/gif', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'bmp' => 'image/bmp', 'png' => 'image/png', 'tif' => ...more »
主站蜘蛛池模板: 富宁县| 林甸县| 额尔古纳市| 临猗县| 延吉市| 都匀市| 偏关县| 吉水县| 滨州市| 密云县| 无锡市| 宜城市| 沂南县| 黎川县| 灌云县| 南安市| 中阳县| 永定县| 朝阳县| 霍林郭勒市| 买车| 乃东县| 湛江市| 石台县| 北票市| 南丹县| 颍上县| 会东县| 双辽市| 濮阳市| 准格尔旗| 苍山县| 自治县| 辽中县| 山东| 衡东县| 曲水县| 绥化市| 枣阳市| 沅陵县| 万山特区|