- 追加された行はこの色です。
- 削除された行はこの色です。
[[moxy]]
-make_document.php
113 $init_obj->make_pdf($event_no,$key,$template_path,$send_mail,FALSE);
114 $url = "http://www.nanbu.com/~nanbuwks/webdenpyo/nouhin/mkdir/mkdir.cgi ?name=".$key;
-make_document.php内のinit_class::make_pdf→odsファイル作成
113 $init_obj->make_pdf($event_no,$key,$template_path,$send_mail,FALSE);
Init_class::make_pdfの処理
--mkdir ./pdf/".$clankey
cp $source_file ./pdf/$clankey
cd ./pdf/$clankey ; unzip *ods > /dev/null ; cp content.xml content_modify.xml
mv ./pdf/".$clankey."/content_modify.xml ./pdf/".$clankey."/content.xml
cd ./pdf/".$clankey." ; zip -r ".$clankey.".ods * > temp.txt
mv ./pdf/".$clankey."/$clankey".".ods ./pdf2/test.ods
124 system("cp ./pdf2/test.ods /home/nanbuwks/public_html/webdenpyo/nouhin/ ".$key.".ods");
-make_document.phpがcgiファイルにアクセス→shファイル実行
/home/nanbuwks/public_html/webdenpyo/nouhin/mkdir/mkdir.cg
$sys_str = "./mkdir.sh " . $value1
131 $url = "http://www.nanbu.com/~nanbuwks/webdenpyo/nouhin/".$key."/mkpdf.c gi?key=".$key."";
-shファイル内容
/home/nanbuwks/public_html/webdenpyo/nouhin/mkdir/mkdir.sh
mkdir -p ../$1;
cp -a ./copy_file/* ../$1;
-make_document.phpがodsをコピー
124 system("cp ./pdf2/test.ods /home/nanbuwks/public_html/webdenpyo/nouhin/key.".ods"); ".$
-make_document.phpがcgiにアクセス→PDFConverterWenv.shを実行
131 $url = "http://www.nanbu.com/~nanbuwks/webdenpyo/nouhin/".$key."/mkpdf.cgi?key=".$key."";
$sys_str = "./PDFConverterWenv.sh " . $value1
-PDFConverterWenv.sh
--javaを実行してPDFファイル作成