Hey all,
I have just created a simple "Whiteboard" for an internal page where users can post messages to each other and assign it to specific jobs. It works great.
however, This maybe a simple task. But since this is a professional page in a corporation, I need to sensor it. The system is simple. The page is a simple form with a Subject, and Text field. Everything else thats needed is automatically filled out by the system (User and session).
What Im' basically looking for is a way to scan through the subject / text feild automatically checking every word against a dictionary. if it finds a match, replace that word with ***** (strlen to dtermine how many).
help is greatly appreciated
ps: I want to create it as a function in a header file so i can call it from multiple pages.
$text = wordcheck($textinput);