I am trying to use formmail.php (Andrew's script)Classic v1.07.2.
The script processes to the screen where is says "this is what you submitted" and shows the data entered on the form. The problem is, the form never gets emailed to me. I am on a unix server with php ext's. turned on. I cannot for the life of me figure out what is going wrong.
I have set the $recipient field per the instructions, and the $referrers per the instructions. Here is the location of the form hughesrc.com/dform/dformtest.html
Here is the script variables as I have them set.
[/code]<?PHP
define('VERSION','Classic v1.07.2');
define('MANUAL','http://www.boaddrink.com/projects/phpformmail/readme.php');
define('CHECK_REFERER', true);
// +------------------------------------------------------------------------+
// | PHPFormMail |
// | Copyright (c) 1999 Andrew Riley (webmaster@boaddrink.com) |
// | |
// | This program is free software; you can redistribute it and/or |
// | modify it under the terms of the GNU General Public License |
// | as published by the Free Software Foundation; either version 2 |
// | of the License, or (at your option) any later version. |
// | |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA. |
// | |
// +------------------------------------------------------------------------+
// | |
// | If you run into any problems, pleas read the readme_formmail.txt. |
// | If that does not help, check out http://www.boaddrink.com. |
// | |
// | For more info, please visit http://www.boaddrink.com or read the |
// | readme file included. |
// +------------------------------------------------------------------------+
// | |
// | Value array fix by: Konrad Maqestieau |
// | check_recipients reset() fix by: Don |
// | servertime_offset code by: desolate |
// | |
// +------------------------------------------------------------------------+
// To change the address the e-mail comes from use define('FROM', 'Example Name <>');
define('FROM', null);
$referers = array("hughesrc.com","insightbb.com");
// $recipient_array format is; // $recipient_array=array('sometext'=>'email@example.com','asdf'=>'email2@example.com');
$recipient_array = array("hughesrc"=>"hughesr6@insightbb.com");
$valid_env = array('REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT');
// +------------------------------------------------------------------------+
// | STOP EDITING! The only two required variables that need to be updated |
// | are $referers and $valid_env |
// +------------------------------------------------------------------------+