Re: strip php tags from code ?

From: Date: Sun, 12 Jan 2003 13:19:40 +0000
Subject: Re: strip php tags from code ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-131329@lists.php.net to get a copy of this message
>----- Original Message ----- >From: "David D" <david_devidal@yahoo.fr> >Sent: Monday, January 06, 2003 7:47 AM >Subject: [PHP] strip php tags from code ? > I only want to keep html code of a page. > I want to remove php tags. It sound like you want the parser output of the page. You can use PHPs output control to buffer the page output, and capture it into a variable to do whatever you want with it. http://www.php.net/manual/en/ref.outcontrol.php Alternately, you can find a template class that does it.

« previous php.general (#131329) next »