cvs: phpweb / submit-event.php

From: Date: Tue, 25 Jun 2002 17:08:44 +0000
Subject: cvs: phpweb / submit-event.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-11011@lists.php.net to get a copy of this message
imajes Tue Jun 25 13:08:44 2002 EDT Modified files: /phpweb submit-event.php Log: i am thinking we don't need people to test this anymore... Index: phpweb/submit-event.php diff -u phpweb/submit-event.php:1.11 phpweb/submit-event.php:1.12 --- phpweb/submit-event.php:1.11 Fri May 17 18:12:06 2002 +++ phpweb/submit-event.php Tue Jun 25 13:08:44 2002 @@ -16,6 +16,14 @@ } # clean and validate data + + if(preg_match("/\btest\b/i", $in['sdesc'])) { + $errors[] = 'We know this works. Please do not test the system.'; + } + + if(preg_match("/\btest\b/i", $in['ldesc'])) { + $errors[] = 'We know this works. Please do not test the system.'; + } if (!is_emailable_address($in['email'])) { $errors[] = 'You must supply a valid email address.';

« previous php.mirrors (#11011) next »