"; passthru("/usr/local/bin/jbofihe -b -x -w $nilcla <$iname 2>&1"); echo ""; } else { /*** HTML formatting ***/ /* retrieve the translation */ $ret = 0; system("(/usr/local/bin/jbofihe -H <$iname 2>$ename || kill -9 \$\$) | tail -n +5 >$hname", $ret); /* in case something failed */ $errs=join('', file($ename)); if( strlen($errs) > 0 ) { echo "
"; echo $errs; echo ""; echo "
BEGIN raw jbofihe output\n\n"; passthru("/usr/local/bin/jbofihe <$iname 2>&1"); echo "\n\nEND raw jbofihe output\n\n"; } /* retrieve the result and do the necessary substitutions */ $content = join('', file($hname)); $content = str_replace("
", "", $content); $content = str_replace("", "", $content); $content = str_replace("", "", $content); $content = str_replace("", "", $content); $content = str_replace("", "", $content); $content = str_replace("", "", $content); $content = str_replace("", "", $content); $content = str_replace("", "", $content); $content = str_replace("", "", $content); $content = str_replace(">>", "»", $content); $content = str_replace("<<", "«", $content); $content = str_replace("
", "
", $content);
echo $content;
}
/*** Delete the temporary files ***/
unlink($iname);
unlink($hname);
unlink($ename);
}
?>
la jbofi'e was created by
Richard Curnow
This program was created by Raphaël Poss
Last modified: Mon Jun 27 23:11:56 PDT 2005
Please contact us with any comments, suggestions or concerns.