On 6/6/05, Chris Shiflett [EMAIL PROTECTED] wrote:
Dotan Cohen wrote:
IF you know every single tag that exists! And being how I only wanted
to remove four of them, the list of 'what to remove' is so much more
compact than the 'leave those' list!
For what purpose are you wanting to remove
On Mon, June 6, 2005 1:05 am, Dotan Cohen said:
I am trying to access my local pop3 mail via wap. When I get home I
download the messages, but while away I need access to them. I am
trying to strip those tags from html mails so that they will display
in my wap browser.
So, on your current
On 6/5/05, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote:
* Dotan Cohen [EMAIL PROTECTED]:
I took this example from php.net, but can't figure out where I went
wrong. Why does this:
$text = preg_replace(/head(.|\s)*?(.|\s)*?\/head/i , , $text);
throw this error:
syntax error at line
On 6/5/05, Dotan Cohen [EMAIL PROTECTED] wrote:
I don't want to strip out all the tags, just certain ones.
You can use strip_tags() and tell it not to strip certain tags if you
want, that feature has been available since PHP 3.
--
Rogue Tory
http://www.roguetory.org.uk
--
PHP General Mailing
On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
I don't want to strip out all the tags, just certain ones. But the
problem turned out not to be in this peice of code- the script simply
wasn't parsing. I started another thread with that problem after
failing to fix it on my own.
The
On 6/6/05, Brian V Bonini [EMAIL PROTECTED] wrote:
On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
I don't want to strip out all the tags, just certain ones. But the
problem turned out not to be in this peice of code- the script simply
wasn't parsing. I started another thread with that
On Sun, 2005-06-05 at 18:13, Dotan Cohen wrote:
On 6/6/05, Brian V Bonini [EMAIL PROTECTED] wrote:
On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
I don't want to strip out all the tags, just certain ones. But the
problem turned out not to be in this peice of code- the script simply
On 6/6/05, Brian V Bonini [EMAIL PROTECTED] wrote:
On Sun, 2005-06-05 at 18:13, Dotan Cohen wrote:
On 6/6/05, Brian V Bonini [EMAIL PROTECTED] wrote:
On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote:
I don't want to strip out all the tags, just certain ones. But the
problem turned
Dotan Cohen wrote:
IF you know every single tag that exists! And being how I only wanted
to remove four of them, the list of 'what to remove' is so much more
compact than the 'leave those' list!
For what purpose are you wanting to remove tags? If this is for data
that you plan to send to the
hmm i think there is a function specificlly for html. but i am not sure
have you tried strip_tags() it will remove html and php tags from a string
. . .
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one
]
To: [EMAIL PROTECTED]
Sent: Fri, 27 Jul 2001 13:40:45 +0700
Subject: Re: [PHP] Re: Stripping HTML
hmm i think there is a function specificlly for html. but i am not sure
have you tried strip_tags() it will remove html and php tags from a string
. . .
Thank You,
Jon Yaggie
www.design
11 matches
Mail list logo