首页
开发手册
应用中心
工具
用户中心
FoundPHP Creating PDF Files for Novices under the Framework
English
中文简体
English
上一篇
下一篇
FoundPHP Incorporating TCPDF into a simple application and convenient plug-in. In order to inherit the advantages of the system, it also provides compatibility with the latest version of PHP 5.4-php7, without worrying about stability. ![](data/files/edit/20/03/19/200319_18255672.png) official website:[https://www.tcpdf.org](http://www.tcpdf.org "https://www.tcpdf.org") sample code:[https://tcpdf.org/examples](https://tcpdf.org/examples "https://tcpdf.org/examples") download code:[https://github.com/tecnickcom/TCPDF](https://github.com/tecnickcom/TCPDF "https://github.com/tecnickcom/TCPDF") SVN code:[https://github.com/tecnickcom/TCPDF.git](https://github.com/tecnickcom/TCPDF.git "https://github.com/tecnickcom/TCPDF.git") #### Quick Start to Generate PDF ```php html_page(array('html'=>'
FoundPHP
Framework PDF Class!')); //print display $filename = 'foundphp'; //file name $show = 0; //0 means display, 1 means download $pdf->p($filename,$show); ?> ``` achieve effect: ![](data/files/edit/20/03/19/200319_15403306.jpg) Simple realization of pdf output, then how to make a richer and more complex pdf please see the next chapter.