Modifying pdf file using php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
arbel
Forum Newbie
Posts: 2
Joined: Fri Jun 01, 2007 4:11 pm

Modifying pdf file using php

Post by arbel »

Hello,

I'd like to edit a pdf file using php, whant I need to achieve is to change some of the hypertext links in the document dynamically so if there's this line of text:

"Hello world"

and it's a link with this address: http://www.text.com

I want to change it to http://www.text.com/2

I've been searching the php libraries but I couldn't find how to do this, if any one can help me it will be very great!

Regards,

Idan
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You're looking for something like FPDI

http://www.google.com/search?q=fpdi+pdf
arbel
Forum Newbie
Posts: 2
Joined: Fri Jun 01, 2007 4:11 pm

Post by arbel »

Hello,

thanks for the quick reply but I've looked over and I don't see how fpdi can achieve what I need.


Idan
Post Reply