Services_HTML2PDF-0.1.0ãä½ãã¾ããã ããã¯ã¢ã·ã¢ã«ãå ¬éãã¦ããHTMLãPDFãªã©ã«å¤æãããµã¼ãã¹ãPHPãã使ãæãããã©ã¤ãã©ãªã§ãã ä¾ãã°ä»¥ä¸ã®ã³ã¼ãã§ããµã¤ãã¦ãºã»ã©ãã®ãµã¤ããPDFã¨ãã¦ä¿åã§ãã¾ãã require_once 'Services/HTML2PDF.php'; $pdf = Services_HTML2PDF::convert("http://labs.cybozu.co.jp/", 'PDF'); if (PEAR::isError($pdf)) { print($pdf->getMessage() . "\n"); exit(); } file_put_contents(dirname(__FILE__) . '/hoge.pdf' , $pdf);
{{#tags}}- {{label}}
{{/tags}}