Results 1 to 5 of 5

Thread: Ignoring HTML tags in PHP (resolved!)

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    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
  •  



Click Here to Expand Forum to Full Width