X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=blobdiff_plain;f=gwvplib%2Fgwvpinputcheck.php;h=5b16154c93a94c789a76c66617769fc3403a043a;hp=59de285403a424714e77f5bc7e4a19a98792e97f;hb=4f4bf1da18181d412cd755143e016ede587cc1d6;hpb=5e67e4fe3908ac2cfffced7f462e4f373d1cdbf1 diff --git a/gwvplib/gwvpinputcheck.php b/gwvplib/gwvpinputcheck.php index 59de285..5b16154 100644 --- a/gwvplib/gwvpinputcheck.php +++ b/gwvplib/gwvpinputcheck.php @@ -9,4 +9,16 @@ function gwvp_checkEmail($email) else return true; } +// TODO: need to write this +function gwvp_stripDescription($desc) +{ + // this doesnt work yet + //$match = preg_replace("/^[a-zA-Z0-9\+]+@[a-zA-Z0-9\.]+$/", $email); + + //if($match != 1) return false; + //else return true; + + return $desc; +} + ?> \ No newline at end of file