Ok first I'll explain my site (you don't need to read this). I have a site running PHProxy. I would like to put a restriction system on what users can't view. I would prefer they don't look up porn, warez, etc. on my site.
What I want to do is create a table in mysql that acts as a blacklist. I will add words to the blacklist manually on my own, but i want php to search the content of the pages for these blacklisted words. I think i can handle it all, except I am not sure how i should go about searching through the content of the current page. Any ideas?