|
-
Jan 5th, 2002, 12:45 PM
#1
Thread Starter
PowerPoster
Ignoring HTML tags in PHP (resolved!)
I've got a textbox that users can enter search queries into, but if they are sneaky and enter html tags, it mucks up the results page.
How can I make tags come out as written rather than being processed by the browser, so if they type "<font color="#0000ff">hello</font>" it prints "<font color="#0000ff">hello</font>" rather than "hello"?
Last edited by chrisjk; Jan 5th, 2002 at 01:15 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|