[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ITL php code



On Thu, 3 Jun 2004 03:48:46 -0400, Behdad Esfahbod wrote:
> On Thu, 3 Jun 2004, Omar Abo-Namous wrote:
>
>> yeah but that means contacting them to include it as a library into php or
>> perhaps just including it in the php-config file. But since most of
>> web-programmers don't have direct access to the server they are running at,
>> i
>> think it's not a simple solution. I am searching for a runtime function that
>> loads an external c-library.
>> So far i got someone who was asking the same question on the
>> 'general'-php-mailinglist who didn't get an answer yet..
>>
>> Salam.
>>
>> Omar
>
> No, you can distribute your own PHP modules.  No need to contact
> them.  And you can load a module dynamically by using "dl":
>
> http://www.php.net/manual/en/function.dl.php
>
> Either you call your itl executable and parse the output, or go
> this way.  Of course you can spend your time looking for another
> solution ;).
>
> --behdad

Ok, i think it's what i'm searching for. Problem would be, that we'd need two
versions (for windows and linux) and i'd have to compile an so-library file
(don't exactly know how...)

thnx anyway.

Salam.

omar