function EregiCevir($a, $b){
return preg_match('/'.$a.'/i', $b);
}

if ((!EregiCevir("^[' A-Za-z0-9_]+$", $islem) and $islem != "") or (!EregiCevir("^[' A-Za-z0-9_]+$", $process) and $process != ""))

?>


Böyle deneyin.