Edit existing pdf document

Edit existing pdf document

am 21.08.2007 16:04:14 von prash.marne

Hi all,

I am having a pdf link on my website
when the user clicks on the link, download window occurs .

But i am not able to edit the pdf.
When the user clicks the pdf it should be downloded with the username
of current user
on each page .
An one more thing i also want to search a specific word from the same
pdf and replace it with user's
additional info.

Done enough googling and completed half of the thing.
But looking for some good url's and help from you guys for completing
it.

Thanks.

Re: Edit existing pdf document

am 21.08.2007 16:08:44 von luiheidsgoeroe

On Tue, 21 Aug 2007 16:04:14 +0200, 1956col wrote:

> Hi all,
>
> I am having a pdf link on my website
> when the user clicks on the link, download window occurs .
>
> But i am not able to edit the pdf.
> When the user clicks the pdf it should be downloded with the username
> of current user
> on each page .
> An one more thing i also want to search a specific word from the same
> pdf and replace it with user's
> additional info.
>
> Done enough googling and completed half of the thing.
> But looking for some good url's and help from you guys for completing
> it.


There were some recente threads in comp.lang.php about that. Use Google
Goups to search them. Short answer:

On Aug 14, 4:25 pm, "craig.s.gard...@gmail.com"
> FPDF for PDF work with PHP and FPDI for importing PDFs into FPDF.
> Really easy to work with - I use it to for PHP to fill in PDF forms.
>http://www.fpdf.org/
> http://www.setasign.de/products/pdf-php-solutions/fpdi/
--
Rik Wasmus

Re: Edit existing pdf document

am 22.08.2007 08:20:09 von prash.marne

On Aug 21, 7:08 pm, Rik wrote:
> On Tue, 21 Aug 2007 16:04:14 +0200, 1956col wrote:
> > Hi all,
>
> > I am having a pdf link on my website
> > when the user clicks on the link, download window occurs .
>
> > But i am not able to edit the pdf.
> > When the user clicks the pdf it should be downloded with the username
> > of current user
> > on each page .
> > An one more thing i also want to search a specific word from the same
> > pdf and replace it with user's
> > additional info.
>
> > Done enough googling and completed half of the thing.
> > But looking for some good url's and help from you guys for completing
> > it.
>
> There were some recente threads in comp.lang.php about that. Use Google
> Goups to search them. Short answer:
>
> On Aug 14, 4:25 pm, "craig.s.gard...@gmail.com"> FPDF for PDF work with PHP and FPDI for importing PDFs into FPDF.
> > Really easy to work with - I use it to for PHP to fill in PDF forms.
> >http://www.fpdf.org/
> >http://www.setasign.de/products/pdf-php-solutions/fpdi/
>
> --
> Rik Wasmus

Thanks for reply,
I am able to import the file with fpdi
but is there any way to search text within that file and replace it.

any idea how i can do this.