Re: SAPI Feature Request (again :-)
| From: | David Hedbor | Date: | Fri, 30 Jun 2000 17:53:23 +0000 |
| Subject: | Re: SAPI Feature Request (again :-) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-23067@lists.php.net to get a copy of this message | ||
thies@digicol.de writes:
> On Thu, Jun 29, 2000 at 12:08:56PM -0700, David Hedbor wrote:
> > Ok, second try - got no response to my first mail as far as I could
> > see. Basically, I think it would be nice, for several reasons, to be
> > able to parse a _string_ using the SAPI interface. Today only
> > file(names) and fd's work. I could do what I want using a pipe but it
> > feels like the wrong way to solve it.
> >
> > Basically, what I need is the ability to parse part of a page as a
> > PHP-script, or parse a script that isn't an actual on-the-disk
> > file. In theory it shouldn't be too hard to fix this.
>
> David,
>
> Look in ext/standard/assert.c and look for zend_eval_string()
>
> That's the way to do it.
Thank you. I'll see if I can figure something out.
--
[ Below is a random fortune, which is unrelated to the above message. ]
Another megabytes the dust.