using PDFlib

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Would somebody help me about PDFlib using? I am a user of a Linux  
machine (not root) and I have installed PDFlib somewhere in my home  
directory. So I can't change the '/etc/php.ini' file.
If I use the next statement "dl('!home/lib/')" in my script I  
get the next error :
Warning: dl(): Unable to load dynamic library  
'/usr/lib/php/extensions/local/usr/people/emami/lib/' -
/usr/lib/php/extensions/local/usr/people/emami/lib/ cannot  
open shared object file

And it is understandable, because he are looking for a directory which  
is not exist. I would appropriate if somebody would tell me to solve  
this problem.

With regards,


Re: using PDFlib

Nader Emami wrote:
Quoted text here. Click to load it

This is not going to work.  All extensions must reside in the same
directory, which must be specified in php.ini.  There is also a default

setting, but it is complicated.  Read the documentaton:

Quoted text here. Click to load it

Without root-level access, you can't.  


Re: using PDFlib

NC wrote:
Quoted text here. Click to load it
Thank for you reaction! I have used 'fpdf' library and it does work.


Site Timeline