943,923 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 4100
  • PHP RSS
You are currently viewing page 1 of this multi-page discussion thread
Jun 7th, 2007
0

PDF and editing in script

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
php_coder is offline Offline
34 posts
since Dec 2006
Jun 15th, 2007
0

Re: PDF and editing in script

Hi friends

I got the same error Please any one advise
Reputation Points: 5
Solved Threads: 5
Junior Poster
vssp is offline Offline
197 posts
since Jul 2006
Jun 17th, 2007
0

Re: PDF and editing in script

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
Reputation Points: 18
Solved Threads: 9
Junior Poster
w_3rabi is offline Offline
160 posts
since Dec 2006
Jun 18th, 2007
0

Re: PDF and editing in script

Thanks for your reply
Last edited by vssp; Jun 18th, 2007 at 2:31 am.
Reputation Points: 5
Solved Threads: 5
Junior Poster
vssp is offline Offline
197 posts
since Jul 2006
Jun 19th, 2007
0

Re: PDF and editing in script

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
Reputation Points: 10
Solved Threads: 0
Light Poster
php_coder is offline Offline
34 posts
since Dec 2006
Jun 19th, 2007
0

Re: PDF and editing in script

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
Reputation Points: 18
Solved Threads: 9
Junior Poster
w_3rabi is offline Offline
160 posts
since Dec 2006
Jun 20th, 2007
0

Re: PDF and editing in script

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
Reputation Points: 10
Solved Threads: 0
Light Poster
php_coder is offline Offline
34 posts
since Dec 2006
Jun 20th, 2007
0

Re: PDF and editing in script

what is the web server u r using ???
Reputation Points: 18
Solved Threads: 9
Junior Poster
w_3rabi is offline Offline
160 posts
since Dec 2006
Jun 25th, 2007
0

Re: PDF and editing in script

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

Cheers
Prati
Reputation Points: 10
Solved Threads: 0
Light Poster
php_coder is offline Offline
34 posts
since Dec 2006
Jun 28th, 2007
0

Re: PDF and editing in script

Click to Expand / Collapse  Quote originally posted by php_coder ...
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
Reputation Points: 5
Solved Threads: 5
Junior Poster
vssp is offline Offline
197 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: PHP downloading?
Next Thread in PHP Forum Timeline: printing to the screen after using fopen()





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC