What I was trying to do was have users type in their favorite sites in a form and submit it onto their profile
What I wanted to ban was pornographic sites, but since there are most likely thousands of those sites out there, what is the best way of banning them?
My first option was using javascript like this one
var bad_sites_arr=new Array("bad.com","adult.com");
but if I did this, I would have to type every single site and put them in quotes separated by a space and comma. This would be tedious and very time-consuming but also very effective.
My question was, is there another way of banning adult sites?
You might want to implement a simple “Report this link” type of moderation. That way, you have the users themselves policing other users. You only need to get involved if a link is reported.
You could even have a link automatically removed if it is reported by 3 or more people.