예제 #1
0
function fill_pdf_file_1($pipe)
{
    $error = 0;
    $error |= false === fwrite($pipe, '3-1' . ' ' . pdfff_escape('hello') . "\n");
    $error |= false === fwrite($pipe, '3-2' . ' ' . pdfff_escape('hello 2') . "\n");
    $error |= false === fwrite($pipe, 'service-1-24' . ' ' . pdfff_escape('Procedure One') . "\n");
    $error |= false === fwrite($pipe, 'service-2-24' . ' ' . pdfff_escape('Procedure Two') . "\n");
    $error |= false === fwrite($pipe, 'service-3-24' . ' ' . pdfff_escape('Procedure Three') . "\n");
    $error |= false === fwrite($pipe, '1Preauthorization' . ' ' . pdfff_checkbox(true) . "\n");
    //    $error |= false === fwrite($pipe, '10-2' . ' ' . pdfff_checkbox(true) . "\n");
    return $error;
}
예제 #2
0
function fill_pdf_file_1($pipe)
{
    $error = 0;
    $error |= false === fwrite($pipe, 'fill_7' . ' ' . pdfff_escape($_POST['ADDRESS']) . "\n");
    $error |= false === fwrite($pipe, 'fill_9' . ' ' . pdfff_escape($_POST['PHONE'] . ', ' . $_POST['EMAIL']) . "\n");
    $error |= false === fwrite($pipe, 'change_identification' . ' ' . pdfff_checkbox($_POST['IDENTIFICATION']) . "\n");
    $error |= false === fwrite($pipe, 'change_adress' . ' ' . pdfff_checkbox($_POST['CHANGE_ADRESS']) . "\n");
    return $error;
}