Chris & Paul,

Try using the new pdflib-4.0.0 .... It works great.
Here is what you have to do:

Goto: http://www.pdflib.com/pdflib/download/index.html

and download the source for unix.

Unzip and untar.

cd to pdflib-4.0.0/bind/php/ext/pdf

copy * php-4.0.4pl1/ext/pdf --- You may want to remove the current contents
of this directory first...

cd pdflib-4.0.0
configure --enable-php
make - you will get an error indicating that a makefile was not found ...
just ignore it.
make install

Link the newly created libraries to the /usr/lib directory:
ln -s /usr/local/lib/libpdf* /usr/lib

Next just rebuild PHP as normal only add --with-pdflib.

Have fun...


Dean





-----Original Message-----
From: Chris Fry [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 7:01 PM
To: Paul Gardiner
Cc: Grimes, Dean; [EMAIL PROTECTED]
Subject: Re: [PHP] PHP4.0.4pl1+PdfLib3.03+SCO


Guys,

I've admitted defeat and set up a Redhat 6.0 box which runs the web site and
talks to the SCO server as a database server. I'm doing this for a large
client
who wants a "Business Card Generator" on his site and PDF seems to be the
best
way to go as the printer wants a PDF file with the info to print on his
shells
(pre-printed sheets).

Tried to make this work about a year ago, PHP on Redhat talking to an
Informix
database on SCO, and failed miserably. Took about 15 minutes this time - I
read
the error messages!

The secret was that, even though DBPATH was set on the SCO machine it wasn't
being read by the Linux box. I modified the connect statement to the db to
include the DBPATH - hey presto!

$dbh = ifx_connect("/dbpath/dbname@dbserver", "userid", "password");

Performance is pretty good as well.

For this client this is actually the optimum solution, the SCO box was
running a
National e-commerce solution and acting as a dbserver for his internal sales
organisation as well. This takes the load off the SCO box and probably
provides
some extra security as well.

If you would like more info let me know.

Chris

Paul Gardiner wrote:

> Hello again Dean, Chris,
>
> Snap I'm afraid. I didn't spend too much time on it but it's on the list
of
> things to do. If I manage to get any further I'll let you know.
>
> If this is urgent though Chris, let me know your exact configure/build
> procedure and which versions you're using of the tiff, jpeg etc and also
how
> you built these. As there's not as many of us on SCO it maybe better if we
> put our heads together to get it sorted - you know what they say :o)
>
> Best regards,
> - Paul -
>
> ----- Original Message -----
> From: "Grimes, Dean" <[EMAIL PROTECTED]>
> To: "'Chris Fry'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Tuesday, April 17, 2001 1:36 PM
> Subject: RE: [PHP] PHP4.0.4pl1+PdfLib3.03+SCO
>
> > I had the exact same problem.... Haven't had time to work it though.
> >
> > -----Original Message-----
> > From: Chris Fry [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 16, 2001 3:26 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] PHP4.0.4pl1+PdfLib3.03+SCO
> >
> >
> > Pdflib 3.03 compiles OK and builds a static library -
> > /usr/local/lib/libpdf.a.
> >
> > PHP fails to configure - cannot find PDF_show_boxed in the library -
> > pdflib extension requires pdflib 3.x.
> >
> > This command is in the library and the header file. Configure finds my
> > tiff & jpeg library (--with-tiff-dir=/usr/local
> > --with-jpeg-dir=/usr/local) but is either not finding the library
> > (--with-pdflib=/usr/local) or is not able to find PDF_show_boxed in the
> > library.
> >
> > Can anyone help??
> >
> > Chris
> >
> > --
> > Chris Fry
> > Quillsoft Pty Ltd
> > Specialists in Secure Internet Services and E-Commerce Solutions
> > 10 Gray Street
> > Kogarah
> > NSW  2217
> > Australia
> >
> > Phone: +61 2 9553 1691
> > Fax: +61 2 9553 1692
> > Mobile: 0419 414 323
> > eMail: [EMAIL PROTECTED]
> > http://www.quillsoft.com.au
> >
> > You can download our Public CA Certificate from:-
> > https://ca.secureanywhere.com/htdocs/cacert.crt
> >
> > **********************************************************************
> >
> > This information contains confidential information intended only for
> > the use of the authorised recipient.  If you are not an authorised
> > recipient of this e-mail, please contact Quillsoft Pty Ltd by return
> > e-mail.
> > In this case, you should not read, print, re-transmit, store or act
> > in reliance on this e-mail or any attachments, and should destroy all
> > copies of them.
> > This e-mail and any attachments may also contain copyright material
> > belonging to Quillsoft Pty Ltd.
> > The views expressed in this e-mail or attachments are the views of
> > the author and not the views of Quillsoft Pty Ltd.
> > You should only deal with the material contained in this e-mail if
> > you are authorised to do so.
> >
> > This notice should not be removed.
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >

--
Chris Fry
Quillsoft Pty Ltd
Specialists in Secure Internet Services and E-Commerce Solutions
10 Gray Street
Kogarah
NSW  2217
Australia

Phone: +61 2 9553 1691
Fax: +61 2 9553 1692
Mobile: 0419 414 323
eMail: [EMAIL PROTECTED]
http://www.quillsoft.com.au

You can download our Public CA Certificate from:-
https://ca.secureanywhere.com/htdocs/cacert.crt

**********************************************************************

This information contains confidential information intended only for
the use of the authorised recipient.  If you are not an authorised
recipient of this e-mail, please contact Quillsoft Pty Ltd by return
e-mail.
In this case, you should not read, print, re-transmit, store or act
in reliance on this e-mail or any attachments, and should destroy all
copies of them.
This e-mail and any attachments may also contain copyright material
belonging to Quillsoft Pty Ltd.
The views expressed in this e-mail or attachments are the views of
the author and not the views of Quillsoft Pty Ltd.
You should only deal with the material contained in this e-mail if
you are authorised to do so.

This notice should not be removed.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to