|
Posted by Andy on 09/25/05 08:10
"Rincewind" <the_rincewind@hotmail.com> wrote in message
news:1qyifsbamgysn$.1psbyhe11tnfr$.dlg@40tude.net...
> On Sat, 24 Sep 2005 05:47:36 -0400, Andy wrote:
>
>> OK.But I am not programmer and do not know how to fix my script. Could
>> you
>> check it and find what is wrong ?
>> Thank You.
>
> If you read the script comments about configuring the script you will see:
> <Quote>CONFIGURE THIS SCRIPT
> To configure this script you will need to:
> Modify the variables in the block - $to through $fieldten so they map to
> your preferred form field names.</Quote>
>
> you haven't done this, so $to = $to; becomes $to = $_POST['to']; as I
> presume your using POST to obtain data for this form, change all the
> fields
> in the "Set up the scripts variables" section and you should lose all
> those
> errors.
I fixed it. No notice anymore. Thank You.
$to = $_POST['to'];
$from = $_POST['from'];
$email = $_POST['email'];
$message = $_POST['message'];
$fieldfive = $_POST['fieldfive'];
$fieldsix = $_POST['fieldsix'];
$fieldseven = $_POST['fieldseven'];
$fieldeight = $_POST['fieldeight'];
$fieldnine = $_POST['fieldnine'];
$fieldten = $_POST['fieldten'];
$today = date ("l, F jS Y");
Navigation:
[Reply to this message]
|