
February 6th, 2000, 01:27 PM
|
|
Contributing User
|
|
Join Date: Apr 1999
Posts: 114
Time spent in forums: 42 m 44 sec
Reputation Power: 15
|
|
|
Hi Tom,
For incoming data, the functions to look at (depending on your needs) are:
addslashes(), trim()
For sending user-created data back to the browser, you should look at:
nl2br(), stripslashes(), htmlspecialchars(), and htmlentities
Also look into magic quotes. This can be a big time saver.
Oh, I forgot quotemeta().
I hope I haven't left any out.
-- Christopher
|