Re: auto generated PDF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, March 30, 2008 4:27 am, Alain Roger wrote:
> i want to implement on my web portal electronic invoicing system.
> basically data will be stored into PostgreSQL DB.
>
> I would like to know if someone already have experiences with such
> feature
> or where could i find some tutorials or help about this topic.

Google for "PHP PostgreSQL shopping cart" and find a few hundred
off-the-shelf packages you could use instead of re-inventing the
wheel.

Some have HORRIBLE security histories, so do your research.

> Concretly, user will buy some products/services online and i would
> like to
> send him a PDF invoice via email.
>
> is there a PDF module under PEAR or directly under PHP ?

In addition to the other options given so far:
http://php.net/pdf
is an option, and it's not that tough to build up the PDF the way you
want.

Some more sample code:
http://uncommonground.com/events.phps

I find that thinking in "inches" and using *72 a lot works well for me.

E.g., $page_top = 10.0 * 72; //10 inches

PDFs are always 72 dpi.

Flame wars about the meaninglessness of dpi can please be sent to your
own /dev/null.  Thanks.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux