954,135 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PDF and editing in script

Hello all


I am trying to generate a PDF file and then edit it from the PHP script.
Tried the example given in the manual......but facing a fatal error

Fatal error: Call to undefined function pdf_add_outline()

so i tried pdf_add_bookmark for bookmarking instead of pdf_add_outline() but of no use...

can anyone tell me how to deal with PDF's and their edit mode.

Thanks in advance
Prati

php_coder
Light Poster
34 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

Hi friends

I got the same error Please any one advise

vssp
Junior Poster
199 posts since Jul 2006
Reputation Points: 5
Solved Threads: 5
 

it looks like u didn't configure php to handle pdf files....
u need to install the pdflib and enable in php.ini
in-case u want to use these functions

w_3rabi
Junior Poster
160 posts since Dec 2006
Reputation Points: 18
Solved Threads: 9
 

Thanks for your reply

vssp
Junior Poster
199 posts since Jul 2006
Reputation Points: 5
Solved Threads: 5
 

Hii

I installed the PDFLib in the htdocs folder and also in the xamp folder. uncommented what is required in the php.ini file also.

But still the PDF functions don't work. Is the path of installation correct?

Help appreciated

Thanks again :)

Prati

php_coder
Light Poster
34 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

the pdfLib should not be installed in the htdocs
i geuss it should be installed in the /usr/local
u should refer to the pdflib website and see the installation guide

w_3rabi
Junior Poster
160 posts since Dec 2006
Reputation Points: 18
Solved Threads: 9
 

Hi

usr/local is available in linux OS. But i am using Windows.
htdocs is the root folder which contains all folders with files that need to be executed.

Kindly suggest some solution

Thanks
Prati

php_coder
Light Poster
34 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

what is the web server u r using ???

w_3rabi
Junior Poster
160 posts since Dec 2006
Reputation Points: 18
Solved Threads: 9
 

Hii
I am using XAMP server. It has php, mysql, perl etc all in one place

Cheers
Prati

php_coder
Light Poster
34 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 
Hii I am using XAMP server. It has php, mysql, perl etc all in one place Cheers Prati




r u using windows machine or linux machine

vssp
Junior Poster
199 posts since Jul 2006
Reputation Points: 5
Solved Threads: 5
 

Hi
Yes i am using Windows OS. waiting for a solution ....

Thanks

php_coder
Light Poster
34 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You