Re: PHP and PDF

From: Date: Mon, 01 Jul 2002 21:48:18 +0000
Subject: Re: PHP and PDF
Groups: php.general 
Request: Send a blank email to php-general+get-104803@lists.php.net to get a copy of this message
>hello everyone-- > >i'd like to know if this can be solved with php. > >i'll be creating a pdf form that'll be downloaded, filled and turned >in. >the form must have a unique NUMBER printed on it each time it is >downloaded. > >i'd like to use php to update this NUMBER (ie. counter + 1) each time >the form is >accessed, and automatically print this NUMBER on the form that sits on >the server. > >is this possible? No problem. If the rest of the PDF is easy to create, or can be just a JPEG, you can just use libpdf. First, you'll need some kind of counter. Probably trivial to do it with MySQL, right? Then, use the PDF library and http://php.net/pdf_show_boxed to paste in the Serial #. You could also look into fdf as well, if the rest of the PDF file is really complicated. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#104803) next »