Link to home
Start Free TrialLog in
Avatar of KPMT-Technician
KPMT-TechnicianFlag for United States of America

asked on

Using Windows DLL on an FreeBSD server using PHP

In the past I have purchased a DLL to add the functionality of complex PDFs to my clients application and have always been developing for a Windows platform.  I have recently been contracted to all the same functionality to a PHP web site running on a FreeBSD server.  I would love to keep the same component I've used in the past http://www.xmlpdf.com/ibex.html.  
They have a .Net and a Java version of their product.  
So,  my question is it possible to use the .Net DLL within this web application and if so, how would I go about calling the DLL and using in it.  A generic example will do.  
OR
Will I need to use the Java version of their component within this web application and if so, how would I go about calling the DLL and using in it.  A generic example will do.

I have PHP experiance but I not kept up with it over the last 4 years.  Thanks for helping.

Robert Fidler
Springfield, Missouri
ASKER CERTIFIED SOLUTION
Avatar of Joe Wu
Joe Wu
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
May be this will be helpfull:
http://www.winehq.org
Avatar of KPMT-Technician

ASKER

nizsmo - I agree with you on not mixing the technologies but kinda in a tough spot.  Looks like from your first link it is possible ONLY if on a Windows OS.

baev - That would be a great solution to getting the windows api but I don't have control over the hosting server.

Thank you both.

I'll need to look for a PHP version of the http://www.xmlpdf.com/ibex.html component.  Mainly one that will accept XML as the data source and XSL-FO as the formatting source to create the PDF.

Robert Fidler
Springfield, Missouri
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial