<?php $kotukelimeler = array('p0rno', '******', '***'); if (!in_array($aranankelime,$kotukelimeler)) { //kayit işlemleri } ?>