cvs: phpweb / mailing-lists.php
| From: | Gabor Hojtsy | Date: | Sat, 09 Aug 2003 14:48:43 +0000 |
| Subject: | cvs: phpweb / mailing-lists.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20079@lists.php.net to get a copy of this message | ||
goba Sat Aug 9 10:48:43 2003 EDT
Modified files:
/phpweb mailing-lists.php
Log:
Ups, the email comes with POST and not GET
Index: phpweb/mailing-lists.php
diff -u phpweb/mailing-lists.php:1.42 phpweb/mailing-lists.php:1.43
--- phpweb/mailing-lists.php:1.42 Sat Aug 9 10:47:50 2003
+++ phpweb/mailing-lists.php Sat Aug 9 10:48:43 2003
@@ -1,5 +1,5 @@
<?php
-// $Id: mailing-lists.php,v 1.42 2003/08/09 14:47:50 goba Exp $
+// $Id: mailing-lists.php,v 1.43 2003/08/09 14:48:43 goba Exp $
$_SERVER['BASE_PAGE'] = 'mailing-lists.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/email-validation.inc';
@@ -34,7 +34,7 @@
"$maillist-$request-$sub@lists.php.net",
"Website Subscription",
"This was a request generated from the form at http://php.net/mailing-lists.php by $remote_addr.",
- "From: {$_GET['email']}\r\n"
+ "From: {$_POST['email']}\r\n"
);
// Provide error if unable to send mail