Re: ANNOUNCE: libapreq-0.30_01 (fwd)
| From: | Shane Caraveo | Date: | Thu, 28 Jan 1999 16:39:53 +0000 |
| Subject: | Re: ANNOUNCE: libapreq-0.30_01 (fwd) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-3766@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
>
> > It does look interesting. However there are two things we'd have to sort
> > out. First of all, is there a way to differentiate between Get/Post/Cookie?
> > If not, I'm sure he'll add that to his C lib.
> > Also, we'd still need to check out the variable names and see if they are
> > arrays, and then deal with them ourselves.
> > So there would still be a bit of work involved.
> > What do you think? Is there any documentation for this project? There's not
> > too much in his .tar.gz and I just took a quick look.
>
> Well, I am more thinking of just extrating the code and using it as a
> basis for the Apache part of the SAPI stuff. We have to abstract all
> these things for SAPI anyway.
>
Well, most of it can probably be used inside php4. We just need to put
data in abstracted containers in sapi on the sapi end of things. What I
mean by that, is for instance, we have a pointer to the cookies and
headers:
sapi->cookies
sapi->headers
On the sapi end, we just take the apropriate stuff from the server and
stick them there. On the php end, we have to parse that info and do
whatever we want with it.
Shane
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net