Re: [PHP] Check for unsafe HTML

2006-08-30 Thread Bogdan Ribic
we have a 'Matt' that's actually a 'Dave' (or is it the other way around), now we have a 'Bogdan' who is propably a 'Boban'. Im sure there are other examples. Seems we attract multiple personality disorder cases around here. Good catch :) Boban is my nickname that everybody calls me, Bogda

Re: [PHP] Check for unsafe HTML

2006-08-30 Thread Bogdan Ribic
do, not try. http://us3.php.net/strip_tags tedd Thanx, you've been lots of help :) But I wanted to clean out unwanted tags, not all of them. I found this class: http://phpclasses.waaf.net/browse/package/2189.html that is supposed to do the job, in case someone else has same problem. -

Re: [PHP] Check for unsafe HTML

2006-08-30 Thread Jochem Maas
tedd wrote: > At 4:12 PM +0200 8/30/06, Bogdan Ribic wrote: >> Hi all, >> >> I need to check html that is entered by user for unsafe content (ie >> javascript, vbscript, onmouseover etc) and still keep "safe" tags. Is >> there any easy way for that? >> >> Boban. > > > Try strip_tags(). do, not

Re: [PHP] Check for unsafe HTML

2006-08-30 Thread Jochem Maas
Bogdan Ribic wrote: > Hi all, > > I need to check html that is entered by user for unsafe content (ie > javascript, vbscript, onmouseover etc) and still keep "safe" tags. Is > there any easy way for that? PRTFM: http://php.net/striptags > > Boban. we have a 'Matt' that's actually a 'Dave' (o

Re: [PHP] Check for unsafe HTML

2006-08-30 Thread tedd
At 4:12 PM +0200 8/30/06, Bogdan Ribic wrote: Hi all, I need to check html that is entered by user for unsafe content (ie javascript, vbscript, onmouseover etc) and still keep "safe" tags. Is there any easy way for that? Boban. Try strip_tags(). http://us3.php.net/strip_tags tedd -- -

[PHP] Check for unsafe HTML

2006-08-30 Thread Bogdan Ribic
Hi all, I need to check html that is entered by user for unsafe content (ie javascript, vbscript, onmouseover etc) and still keep "safe" tags. Is there any easy way for that? Boban. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php