cvs: qaweb / buildtest-action.php
| From: | Jan Lehnardt | Date: | Mon, 26 Aug 2002 09:01:01 +0000 |
| Subject: | cvs: qaweb / buildtest-action.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-5880@lists.php.net to get a copy of this message | ||
jan Mon Aug 26 05:01:01 2002 EDT
Modified files:
/qaweb buildtest-action.php
Log:
- "spam protection"
Index: qaweb/buildtest-action.php
diff -u qaweb/buildtest-action.php:1.3 qaweb/buildtest-action.php:1.4
--- qaweb/buildtest-action.php:1.3 Wed Mar 20 13:43:00 2002
+++ qaweb/buildtest-action.php Mon Aug 26 05:01:00 2002
@@ -2,15 +2,16 @@
include("include/functions.php");
$TITLE = "Submit Build Test [PHP-QAT: Quality Assurance Team]";
$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>
-/* $Id: buildtest-action.php,v 1.3 2002/03/20 18:43:00 derick Exp $ */";
+/* $Id: buildtest-action.php,v 1.4 2002/08/26 09:01:00 jan Exp $ */";
common_header();
$d = var_export ($_POST, TRUE);
-
- mail ("php-qa@lists.php.net", "PHP Test results", $d, "From:
noreply@php.net");
-
- print("thank you for your submission.");
-
+ if (count($d) > 0) {
+ mail ("php-qa@lists.php.net", "PHP Test results", $d, "From:
noreply@php.net");
+ print("thank you for your submission.");
+ } else {
+ print("Your submission was empty, please try again.");
+ }
common_footer();
?>