This it my example badkeyword.php file in root directory.
Code: Select all
<?php
$bad_word = array('1nnbiz','Sugihara','a4u','tobacco','wp','Xipolitakis','bobknob','ttl','ichthyosis','harlequin','carver-big','briana-loyd','pants','minisuka','mayumi-yamanaka','natalia-spice','vida-guerra','sugey','abrego','chilangazo','kari-sweets','eva-mendes','selfies','hentai','thong','Blaze','imgur','teen-model-set','ngentot','kontol','fuck','porn','breast','penis','memek','campo','leg','lucy-liu-thong','haruka-itoh','oops','ashlynn','denise-milani','miyuki-yokoyama','upshorts','sandra-bullock','Narvaez','squirt','gay','abortion','attack','bomb','casino','cocaine','die','death','erection','heroin','marijuana','masturbation','pedophile','pussy','terrorist','bikini','sofia-hayat','kyra','she bends over and spreads','briana loyd','kari sweets','noelle easton','manga','sofia hayat','jobmatic','Blackcap','Greenfinch','Redwing','heidy','Sunny','Leone','SunnyLeone','4r5e','5h1t','5hit','a55','anal','anus','ar5e','arrse','arse','ass','ass fucker','asses','assfucker','assfukka','asshole','assholes','asswhole','a_s_s','b!tch','b00bs','b17ch','b1tch','ballbag','balls','ballsack','bastard','beastial','beastiality','bellend','bestial','bestiality','bi+ch','biatch','bitch','bitcher','bitchers','bitches','bitchin','bitching','bloody','blow job','blowjob','blowjobs','boiolas','bollock','bollok','boner','boob','boobs','booobs','boooobs','booooobs','booooooobs','breasts','buceta','bugger','bum','bunny fucker','butthole','buttmuch','buttplug','c0ck','c0cksucker','carpet muncher','cawk','chink','cipa','cl1t','clit','clitoris','clits','cnut','cock','cock sucker','cockface','cockhead','cockmunch','cockmuncher','cocks','cocksuck','cocksucked','cocksucker','cocksucking','cocksucks','cocksuka','cocksukka','cok','cokmuncher','coksucka','coon','cox','crap','cum','cummer','cumming','cums','cumshot','cunilingus','cunillingus','cunnilingus','cunt','cuntlick','cuntlicker','cuntlicking','cunts','cyalis','cyberfuc','cyberfuck','cyberfucked','cyberfucker','cyberfuckers','cyberfucking','d1ck','damn','dick','dickhead','dildo','dildos','dink','dinks','dirsa','dlck','dog fucker','doggin','dogging','donkeyribber','doosh','duche','dyke','ejaculate','ejaculated','ejaculates','ejaculating','ejaculatings','ejaculation','ejakulate','f u c k','f u c k e r','f4nny','fag','fagging','faggitt','faggot','faggs','fagot','fagots','956x1440 ru','fags','fanny','fannyflaps','fannyfucker','fanyy','fatass','fcuk','fcuker','fcuking','feck','fecker','felching','fellate','fellatio','fingerfuck','fingerfucked','fingerfucker','fingerfuckers','fingerfucking','fingerfucks','fistfuck','fistfucked','fistfucker','fistfuckers','fistfucking','fistfuckings','fistfucks','flange','fook','fooker','fucka','fucked','fucker','fuckers','fuckhead','fuckheads','fuckin','fucking','fuckings','fuckingshitmotherfucker','fuckme','fucks','fuckwhit','fuckwit','fudge packer','fudgepacker','fuk','fuker','red harbinger cross','red cross','red harbinger cross pc desk available to pre order','fukker','fukkin','fuks','fukwhit','fukwit','fux','fux0r','f_u_c_k','gangbang','gangbanged','gangbangs','gaylord','gaysex','goatse','God','god dam','god damned','goddamn','goddamned','hardcoresex','heshe','hoar','hoare','hoer','homo','hore','horniest','horny','hotsex','jack off','jackoff','jerk off','jism','jiz','jizm','jizz','kawk','knob','knobead','knobed','knobend','knobhead','knobjocky','knobjokey','kock','kondum','kondums','kum','kummer','kumming','kums','kunilingus','l3i+ch','l3itch','labia','lmfao','lust','lusting','m0f0','m0fo','m45terbate','ma5terb8','ma5terbate','masochist','master bate','masterb8','masterbat*','masterbat3','masterbate','masterbation','masterbations','masturbate','mo fo','mof0','mofo','mothafuck','mothafucka','mothafuckas','mothafuckaz','mothafucked','mothafucker','mothafuckers','mothafuckin','mothafucking','mothafuckings','mothafucks','mother fucker','motherfuck','motherfucked','motherfucker','motherfuckers','motherfuckin','motherfucking','motherfuckings','motherfuckka','motherfucks','muff','mutha','muthafecker','muthafuckker','muther','mutherfucker','n1gga','n1gger','nazi','nigg3r','nigg4h','nigga','niggah','niggas','niggaz','nigger','niggers','nob','nob jokey','nobhead','nobjocky','nobjokey','numbnuts','nutsack','orgasim','orgasims','orgasm','orgasms','p0rn','pawn','pecker','penisfucker','phonesex','phuck','phuk','phuked','phuking','phukked','phukking','phuks','phuq','pigfucker','pimpis','piss','pissed','pisser','pissers','pisses','pissflaps','pissin','pissing','pissoff','poop','porno','pornography','pornos','prick','pricks','pron','pube','pusse','pussi','pussies','pussys','rectum','retard','rimjaw','rimming','s hit','s.o.b.','sadist','schlong','screwing','scroat','scrote','scrotum','semen','sex','sh!+','sh!t','sh1t','shag','shagger','shaggin','shagging','shemale','shi+','shit','shitdick','shite','shited','shitey','shitfuck','shitfull','shithead','shiting','shitings','shits','shitted','shitter','shitters','shitting','shittings','shitty','skank','slut','sluts','smegma','smut','snatch','son of a bitch','spac','spunk','s_h_i_t','t1tt1e5','t1tties','teets','teez','testical','testicle','tit','titfuck','tits','titt','tittie5','tittiefucker','titties','tittyfuck','tittywank','titwank','tosser','turd','tw4t','twat','twathead','twatty','twunt','twunter','v14gra','v1gra','vagina','viagra','vulva','w00se','wang','wank','wanker','wanky','whoar','whore','willies','willy','xrated','xxx','FUCK','camel toe','telugu','string bikini','g string','shannan leigh','alexis taylor','no panties','Mulher Pelada','bottomless','mallfuction dress','silvia c','naked','banned','adult','erotic','erotica','playboy','seks','bugil','telanjang','perawan','masturbasi','titit','birahi','ngewe','bohay','toket','pinoy','18+','3gp','jav','bercinta','panas','adegan','pijat','sange','sangek','montok','jablay','kentot','sepong','miyabi','ozawa','perkosa','diperkosa','pemerkosaan','abg','bispak','ngesek','ngeseks','indehoy','intim','hamil','amatures','hot girl','live cam','cam girl','sexs','tante girang','syur','Hot Seksi','foto hot','seksi','nudes','amateurs','amateur','Milf','Swingers','brazzer','youporn','pornstar','XTube','Pedophilia','Pedofilia','pedopil','zakar','on roundgames','playing','tennis','imgchili','hazuki','jailbait','yhs fullyhosted_003','Hardcore','fairy','tail','erza','leeann','tweeden','legs','areeya','oki','misa','lingerie','crook','i can see down her shirt','gia marie macool','com russianbare youth','misa campo','leeann tweeden legs','fairy tail erza bikini','s Sunny Leone SunnyLeone','imgchili camy dreams set','kitchen sink','eve canela','denise milani on the beach','hannah may rose','brianna amor twitter','tank top','mallfunction dress','leghacker','hacker','koze','cottontail','cutie','cara brett','camy dreams set','leaked','nekked','beautyleg','bambi','encyclopedia','dreams set','puki','gisele bundchen','afbeelding','nyomi','lexi belle','yunjin kim','cfisd','lucy liu','Call','purenudism','Waking Spirit','Waking Spirit Flutes','Spirit Flutes','oceane','masha','babko','candydoll','jilat','pepek','hidden cam','mms','antarvasna','stacey poole','joey fisher','yahoo!-groups','ensiklopedia bebas','tokobagus.com','3some','4some','amcik','analingus','analplay','anal play','androsodomy','andskota','anilingus','arschloch','arsehole','asslick','assplay','ass playauto eroticism','autofellatio','autopederasty','b!+ch','b00b','ballgag','ball gag','bareback','barebacking','bdsm','beastilaity','bi7ch','bondage','boobies','buggery','bukake','bukakke','bulldyke','bull dyke','bulldykes','bull dykes','butt pirate','butt plug','buttplugs','butt plugs','butts','cabron','cameltoe','cameltoes','cazzo','coprophagy','coprophilia','cornhole','cornholes','corpophilia','corpophilic','creampie','cream pie','creamypie','cumpic','cumshots','d4mn','deepthroat','defecated','defecating','defecation','dicks','dike','dildoes','doggystyle','douche','douches','douching','dykes','dziwka','ejackulate','ekrem','ekto','enculer','enema','enemas','erections','facesit','facesitting','facial','facials','faen','fanculo','fart','farted','farting','feces','felch','felcher','fetish','fetishes','ficken','fisting','flikker','footjob','foreskin','fotze','foursome','futkretzn','gag','gang bang','genital','genitalia','genitals','gloryhole','glory hole','gloryholes','glory holes','gook','groupsex','gspot','g spot','guiena','h0r','h4x0r','handjob','hand job','hardcore','helvete','homosexual','honkey','huevon','incest','intercourse','interracial','jackass','kankerkinky','klootzak','knulle','kraut','kuksuger','kurac','kurwa','kusi','kyrpa','labial','lesbian','lesbians','lesbo','lolita','lolitas','mamhoon','masochism','masochistic','masturbat','mibun','monkleigh','motherfisher','mouliewop','muie','mulkku','muschi','nazis','necrophilia','nepesaurio','nipple','nipples','nudity','nympho','nymphomania','nymphomaniac','orgies','orgy','orospu','paska','pederast','pederasty','pedophilia','pedophiliac','pee','peeing','penetration','penetrations','perse','pervert','perverted','perverts','picka','pierdol','pillu','pimmel','pizda','poontsee','pr0n','precum','preteen','prostitute','prostituted','prostitutes','prostituting','pussylips','qahbeh','queef','queer','queers','qweef','rape','raped','rapes','rapist','rautenberg','rimjob','sadism','scat','schaffer','scheiss','schlampe','schmuck','screw','sharmuta','sharmute','shipal','shiz','sixtynine','sixty nine','skribz','skurwysyn','slutty','sodomize','sodomy','softcore','spank','spanked','spanking','sperm','sphencter','spic','spierdalaj','squirted','squirting','strapon','strap on','submissive','suck','sucked','sucking','suck off','sucks','testicles','threesome','titty','tittys','tranny','transsexual','transvestite','twats','twaty','twink','upskirt','urinated','urinating','urination','vaginas','vibrator','vittu','wanking','watersports','whores','wtf','x rated','zabourah','crackz','crack','warez','no cd','nocd','sexy','hate','breas','hitler','babes','babe','suicide','topless','racist','lesbi','daniel brou','joanne yiokaris','pg ishazamuddin','sekolah menengah shan tao','dnwallace','david neil wallace','cerita seru','cerita panas','cerita dewasa','setubuh','senggama','17tahun','17 tahun','jebanje','mesum','mujeres','x girl','lancap','bogel','xes','lau xanh','akka','bangla','choda','sabul','hot video','chudai','cipki','togel','malam pertama','malam pengantin','cerita hot','tukar pasangan','tukar istri','ngecrot','maria ozawa','tanpa busana','desnuda','kelamin','hubungan intim','tetek','kripalu','irina shayk','elle macpherson','mia','pia mia perez','anak sd telanjang','onani','BBW','helidoni','busty asians','denise','milani','uncensored','instagram','ocim','favicon.ico','goblog','goblok','http://','.info','.com','.net','.pw','web.id','.my.id','.html','html');
Code: Select all
// arnlweb check badwords start
function removebadwords($string,$banned_words) {
require_once($_SERVER['DOCUMENT_ROOT'] . '/badkeyword.php');
$banned_words = $bad_word;
foreach($banned_words as $banned_word) {
if(stristr($string,$banned_word)){
return false;
}
}
return true;
}
//$string = "test string";
$string = strtolower( get_search_query() ); // search input
if (!removebadwords($string,$banned_words)) {
//echo 'string contains banned words';
header("Location: /"); // redirect to main site
exit;
}
// arnlweb check badwords end
Hope it helps.