Hello,
Is there a way to strip only php code out of an html file? I know about
strip_tags but its going to be alot of work to make the allowable list, as
all I want to strip out is:
?php ... ?
I tried like so:
eregi_replace (?php include(\whatever.php\); ?, , $string);
but it didn't find it
that would be nice.
Regards,
Joseph
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 November 2001 2:28 PM
To: Joseph Blythe; [EMAIL PROTECTED]
Subject: Re: [PHP] strip php out of html
On Fri, 23 Nov 2001 14:10, Joseph Blythe wrote:
Hello,
Is there a way
PROTECTED]
Subject: RE: [PHP] strip php out of html
David,
Basically I have found a way of making printable versions of every page in a
website I am currently working on (without a database etc), because I am
using a dreamweaver template the main content is always surrounded by:
!-- #BeginEditable
3 matches
Mail list logo