Exemplo n.º 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;
}
Exemplo n.º 2
0
function fill_pdf_file_2($pipe)
{
    $error = 0;
    $error |= false === fwrite($pipe, 'FAMILY' . ' ' . pdfff_escape($_POST['FAMILY']) . "\n");
    $error |= false === fwrite($pipe, 'NAME' . ' ' . pdfff_escape($_POST['NAME']) . "\n");
    $error |= false === fwrite($pipe, 'SECOND_NAME' . ' ' . pdfff_escape($_POST['SECOND_NAME']) . "\n");
    return $error;
}