cvs: phpweb / cvs-php.php
| From: | Sascha Schumann | Date: | Sun, 11 Feb 2001 18:10:38 +0000 |
| Subject: | cvs: phpweb / cvs-php.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-3905@lists.php.net to get a copy of this message | ||
sas Sun Feb 11 10:10:38 2001 EDT
Modified files:
/phpweb cvs-php.php
Log:
Make emails look as if they are sent from a special account instead of root.
Index: phpweb/cvs-php.php
diff -u phpweb/cvs-php.php:1.4 phpweb/cvs-php.php:1.5
--- phpweb/cvs-php.php:1.4 Mon Jan 22 11:55:30 2001
+++ phpweb/cvs-php.php Sun Feb 11 10:10:37 2001
@@ -73,7 +73,12 @@
</form>
<?php } elseif ($fullname && $email && $password && $purpose &&
$checkread) {
mail("rasmus@lerdorf.on.ca","CVS Account Request","Full name:
$fullname\nEmail: $email\nID: $id\nPassword: ".crypt($password)."\nPurpose:
$purpose");
-mail("php-dev@lists.php.net","CVS Account Request","Full name:
$fullname\nEmail: $email\nID: $id\nPurpose: $purpose");
+mail("php-dev@lists.php.net", "CVS Account Request",
+ "Full name: $fullname\n".
+ "Email: $email\n".
+ "ID: $id\n".
+ "Purpose: $purpose",
+ 'From: "CVS Account Request" <donotemail@php.net>');
?>
Thank you. Your request has been sent.
<?php }