Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create "HTML not allowed field"

Status
Not open for further replies.

druckey

Technical User
May 12, 2006
1
AU
Hello,

I noticed that some sites have the text "HTML not allowed". And ture enough any html that you enter gets disregarded. My question is, how do i do that?

and is there anyway to overide that "rule" of another person's website?

THANX!
 
That all depends on your server side routines. I guess you're talking about entering html in the textarea or input field and when submitting, the html is no longer there. That means that the removal of html tags is done by the processing script on the server. You should therefore pose this question to the forum of your favourite server side languages, like php, asp, coldfusion, jsp or perl.
 
A lot of the time, this will have been done for security reasons. For example, posting on a forum.

If HTML were allowed, people could inject script into posts which could do all sorts of nasty things (redirecting users to dodgy sites, etc).

Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top