On Mon, Jul 12, 2010 at 02:52:39PM -0400, Gary wrote:

> I'm sure it is possible, but I am unsure how to do this.  I have created a
> Sale coupon that I was going to put up on a site that I manage, for visitors
> to print out and bring to the store. The coupon is currently a .png, however
> I was planning on converting to a pdf.  I would like to put on the coupon a
> serial number that increases by 1 everytime the page is viewed. I dont
> really care if someone refreshes the page and skews the numbers.
> 
> Is this possible and could someone give me some help?

Doing this in a PDF is pretty easy. Check out the FPDF library. It's
pretty lightweight. I print invoices to PDF all the time, so I have to
insert numbers into PDFs created by FPDF. Check the documentation.

Paul

-- 
Paul M. Foster

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

Reply via email to