Re: Shared Objects
| From: | Marek Kilimajer | Date: | Fri, 19 Sep 2003 08:41:43 +0000 |
| Subject: | Re: Shared Objects | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163109@lists.php.net to get a copy of this message | ||
You need to write a php extension to wrap around the object's functions.
Adam Whitehead wrote:
Hi All I currently have a requirement to incorporate credit card processing in my application and my bank has provided me with a Linux shared object (.so file) that they said would suit my requirements. They indicated that PHP can instantiate these shared objects and execute the functions contained within. However, PHP will not load the shared object, saying that it is not a PHP shared object. Is there a way to take Linux shared objects and access the functionality in them in PHP? Much like you would instantiate a COM object on Windows to call its methods? Thanks Adam