Sanitizaion
public php v1 · immutable<?php function sanitize($string){ if(isset($string){ // Check if string is set return trim(str_replace(array("\r","\n", "\t"),"" $string)); } else { return FALSE; // No contents, complain } }?><?php function sanitize($string){ if(isset($string){ // Check if string is set return trim(str_replace(array("\r","\n", "\t"),"" $string)); } else { return FALSE; // No contents, complain } }?>