cvs: presentations /slides/peru/ejemplos invoice.php
| From: | Jesus M. Castagnetto | Date: | Sun, 05 Jun 2005 05:50:57 +0000 |
| Subject: | cvs: presentations /slides/peru/ejemplos invoice.php | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1152@lists.php.net to get a copy of this message | ||
jmcastagnetto Sun Jun 5 01:50:57 2005 EDT
Modified files:
/presentations/slides/peru/ejemplos invoice.php
Log:
minor change to describe why we are not generating PDF on the fly
http://cvs.php.net/diff.php/presentations/slides/peru/ejemplos/invoice.php?r1=1.1&r2=1.2&ty=u
Index: presentations/slides/peru/ejemplos/invoice.php
diff -u presentations/slides/peru/ejemplos/invoice.php:1.1
presentations/slides/peru/ejemplos/invoice.php:1.2
--- presentations/slides/peru/ejemplos/invoice.php:1.1 Sun Jun 5 01:46:20 2005
+++ presentations/slides/peru/ejemplos/invoice.php Sun Jun 5 01:50:56 2005
@@ -1,6 +1,8 @@
<?php
if (!extension_loaded('pdf')) {
- echo '<a href="invoice.pdf">Bajar la factura</a>';
+ echo 'Este servidor no puede generar PDFs, ';
+ echo 'pero puedes bajar <a href="invoice.pdf">la factura</a> ';
+ echo 'previamente generada por este programa';
exit;
}
$pdf = pdf_new();