Re: Adding PHP support to a server
| From: | Andi Gutmans | Date: | Sat, 11 Aug 2001 11:02:44 +0000 |
| Subject: | Re: Adding PHP support to a server | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62925@lists.php.net to get a copy of this message | ||
At 12:54 PM 8/11/2001 +0200, Pablo J Royo wrote:
Hi: First, sorry if this is not the rigth list for my question. I have built a server that doesn´t "speak" HTTP protocol and that forks child processes to handle incomming data. I´d like that data could be handled using PHP to make things as easy as possible, so if i´ve to use a Oracle database to insert data I can use PHP support for this, avoiding C or C++ to programing it. I´ve read sources about your SAPI to learn how could I get this. I suppose I have to fill an struct with "incoming data", a struct with pointers to my functions an let PHP SAPI manage that...or not? It seems this is what other modules,thttpd module or ISAPI, do... Could I do the same?. I´m confused and don´t know were to start, or even if this can be made. Could somebody help me?Pablo, I'm not exactly sure what your system looks like but basically what you said is correct. You just need to create a SAPI layer for your server. Andi