Re: SAPI Feature Request (again :-)

From: Date: Fri, 30 Jun 2000 11:55:35 +0000
Subject: Re: SAPI Feature Request (again :-)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-23025@lists.php.net to get a copy of this message
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. tc > -- > [ Below is a random fortune, which is unrelated to the above message. ] > Hempstone's Question: > If you have to travel on the Titanic, why not go first class? > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#23025) next »