Formz
Hi everyone,
How can I disable html-tags on a messageboard/guestbook?
I don't want users to use stuff like and so on...
Thanx in advanx.
Hi everyone,
How can I disable html-tags on a messageboard/guestbook?
I don't want users to use stuff like and so on...
Thanx in advanx.
Rob Pengelly posted this at 20:47 — 20th December 2000.
They have: 850 posts
Joined: Jul 1999
You can use a regular expression to replace < and > with < and >
$html = "<tag></tag>";
$html =~s/</</g;
$html =~s/>/>/g;
http://www.thehungersite.com - http://www.therainforestsite.com
http://www.ratemymullet.com - Beauty is only mullet deep.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.