一旦ファイルに出力してリダイレクトする
<?php
/**
* このサンプルを動かすには、ディレクトリに書き込み権限が必要です。
*/
require_once ('../code/cssj_driver.php');
//ドライバの作成
//セッションの開始
//出力先ファイル
$out =
fopen('test.pdf', 'w');
//プロパティの設定
//リソースの送信
//本体の変換
$in =
fopen('test.html', 'r');
for (;;) {
$data =
fread($in, 8192);
break;
}
echo $data;
}
//セッションの終了
//出力先ファイルを閉じる
//リダイレクト
exit;
?>
Documentation generated on Sat, 23 May 2009 14:49:07 +0900 by phpDocumentor 1.4.1