[BNM] PDF Generation from PHP
Alex
alex at fatdrop.co.uk
Wed Jan 16 13:08:07 GMT 2008
it's a class that you include in your pdf creation script. see the site
for details.
re: find and replace. no, that won't work afaik but you can just have a
var with the default template and find and replace in that then insert
it into the pdf.
alex =]
Alan Braddish wrote:
> Is FPDF part of PHP 5 or is it something I need to download and install?
>
> Also - anybody know about my find-and-replace question - is this possible?
> As I have a template PDF file and only need to change a couple of
> placeholders with peoples names etc.
>
> Thanks.
>
>
>
> -----Original Message-----
> From: bnmlist-bounces at brightonnewmedia.org
> [mailto:bnmlist-bounces at brightonnewmedia.org] On Behalf Of Alastair James
> Sent: 16 January 2008 12:43
> To: Brighton New Media
> Subject: Re: [BNM] PDF Generation from PHP
>
> +1 for http://www.fpdf.org/
>
> If you are using the Zend Framework, that has a passable (but semi
> incomplete) pdf library as well.
>
> Al
>
> On 16/01/2008, Nick Taylor <nick at tangerineworks.com> wrote:
>
>> PDF itself however sucks.
>>
>>
>>
>>> http://www.fpdf.org/ is your friend =]
>>>
>>>
>>>
>>> Alan Braddish wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am looking to generate a PDF file from PHP. Is the built-in library
>>>> sufficient for this? Ideally I'd prefer to use this than buy in
>>>>
> another
>
>>>> library.
>>>>
>>>> Also, I only have 2 bits of text to change in an existing PDF file. Is
>>>>
> it
>
>>>> possible to do some kind of find-and-replace operation on a PDF file
>>>>
> (from
>
>>>> PHP) so that I don't have to create the whole PDF file from scratch in
>>>>
> PHP?
>
>>>> Thanks.
>>>> Alan
>>>>
>>>>
>>>>
>>>>
>> --
>>
>>
>>
>>
>>
>> ______________________________________________________________________
>> NICK TAYLOR :: nick at tangerineworks.com
>> ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
>> www.wankspanner.com :: diary of a porn hundredaire : NSFW
>> www.weirdsky.com :: T-shirts for alpha geeks
>> www.tripshare.com :: car-pooling
>> www.11v11.com :: football
>> www.tangerineworks.com :: web dev
>> www.ikostar.com :: stuff
>>
>> phone :: (0064) 0273 740 101
>> --
>>
>> BNM Subscribe/Unsubscribe:
>> http://www.brightonnewmedia.org/options/bnmlist
>>
>> Archive Search - http://icanhaz.com/bnmarchive
>>
>> BNM powered by Wessex Networks:
>> http://www.wessexnetworks.com
>>
>>
>
>
>
More information about the BNMlist
mailing list. Powered by Wessex Networks