Could you possibly explain more about what you want to do? It's not
completely clear whether you mean you're creating server *software*
(e.g., you're writing, as it were, a competitor to Apache) or you're
creating a server *site*.
If you're writing server software, then you should do what Apache
does: load (or compile in, if you prefer) the appropriate php library
and call its routines as you need them, just as you would with any
other library.
Margaret
Neil D?kkalfar wrote:
Hello
I am building a (very) simple web server and I want to know how to
interface it with PHP. At the moment I am using the /usr/bin/php
program giving it a PHP script. What I would like to do is directly
using the C functions of PHP in my program (functions for setup,
define variables, read a script, ...).
If anyone know how to do that, it would be very great.
--
(To mail me, please change .not.invalid to .net, first.
Apologies for the inconvenience.)