Reply to Re: Security of Unix Pipes (with Application Details)

Your name:

Reply:


Posted by David T. Ashley on 05/01/07 16:32

"Toby A Inkster" <usenet200703@tobyinkster.co.uk> wrote in message
news:fb3kg4-7eq.ln1@ophelia.g5n.co.uk...
> David T. Ashley wrote:
>
>> I am not able to call a shared library directly from PHP. Instead, I
>> have
>> to write a C program that is called (i.e. exec'd or similar) from PHP and
>> which uses the shared library.
>
> Have you considered writing an extension to PHP? This is a compiled (C)
> shared object that could interface between your PHP script and the library
> in question.
>
> I've not written one before, but I'm told they're easier than you'd
> expect.

This is an interesting idea. The only potential barrier in my case is that
I run Red Hat Enterprise Linux and I receive my PHP as packages from Red Hat
(which is great for me).

Does this involve recompiling PHP? Or does it involve some external work
that links to PHP? In other words, could I continue to use the pre-built
PHP packages from Red Hat?

Thanks.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация