html

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

html

Post by phpScott »

Is there an easy way to strip out html tags from user input using php.

A site I am working on is starting to get flooded with <a href> tags and I am worried about other tags being imporperly used.

I can think of a few long complicated time consuming ways but I am hoping one of you brilliant people will be able to help me out.

And yes I am storing the data in a mysql db.

phpScott
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Volka the master

Post by phpScott »

Leave it to Volka the master to have the answer or a least a link to the answer.

Thanks alot. :D
Post Reply