moxy

  • 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
  • make_document.phpがcgiファイルにアクセス→shファイル実行
    /home/nanbuwks/public_html/webdenpyo/nouhin/mkdir/mkdir.cg
    $sys_str = "./mkdir.sh " . $value1 
  • 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ファイル作成

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2007-10-23 (火) 14:48:03 (6031d)