Hi
Can anyone help, i am new to this and created a form for the first time, everything was going well until i pressed submit. The form then went to the confirmation page but there is no email received in my email box. I have scoured the forums as i am using the latest version 3 of the program, but i cannot find an answer.
Can anyone help please I have spent hours on this. I have included the process.php info as it seems that this is the file everyone says there are problems with. Many thanks
Chris
mail("lord.caudle@surecalltelecoms.co.uk","phpFormGenerator - Form submission","Form data:
Company Name: " . $_POST . "
Full Company Address: " . $_POST . "
Landline Contact Tel No: " . $_POST . "
Mobile Number: " . $_POST . "
How many handsets do you currently have: " . $_POST . "
On which network: " . $_POST . "
Current Tariff or Plan if known: " . $_POST . "
What is your total Line rental each month: " . $_POST . "
What is your TOTAL bill each month excluding VAT: " . $_POST . "
If you have a copy of your bill please attach here: ".$where_form_is."files/".$field_10_filename." (original file name: " . $_FILES . ")
Email Address: " . $_POST . "
How many handsets are you looking for?: " . $_POST . "
What is your preferred Make: $field_13_opts
How do you want your company handsets: $field_14_opts
How Many text messages do you require per handset: " . $_POST . "
Do you require extra add ons: " . $_POST . "
Specialist Name entering information (Official use Only): " . $_POST . "
powered by phpFormGenerator.
");
include("confirm.html");
?>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Can anyone help, i am new to this and created a form for the first time, everything was going well until i pressed submit. The form then went to the confirmation page but there is no email received in my email box. I have scoured the forums as i am using the latest version 3 of the program, but i cannot find an answer.
Can anyone help please I have spent hours on this. I have included the process.php info as it seems that this is the file everyone says there are problems with. Many thanks
Chris
<?php
$where_form_is="http://".$_SERVER.strrev(strstr(strrev($_SERVER),"/"));
// File upload handling
if($_FILES!=''){
$field_11_filename = "file_11_".date("sihdmY").substr($_FILES,strlen($_FILES)-4);
if(!move_uploaded_file($_FILES, "./files/".$field_11_filename)){
die("File " . $_FILES . " was not uploaded.");
}
}
// Checkbox handling
$field_13_opts = $_POST.",". $_POST.",". $_POST.",". $_POST.",". $_POST.",". $_POST.",". $_POST;
// Checkbox handling
$field_14_opts = $_POST.",". $_POST.",". $_POST;
mail("lord.caudle@surecalltelecoms.co.uk","phpFormGenerator - Form submission","Form data:
Company Name: " . $_POST . "
Full Company Address: " . $_POST . "
Landline Contact Tel No: " . $_POST . "
Mobile Number: " . $_POST . "
How many handsets do you currently have: " . $_POST . "
On which network: " . $_POST . "
Current Tariff or Plan if known: " . $_POST . "
What is your total Line rental each month: " . $_POST . "
What is your TOTAL bill each month excluding VAT: " . $_POST . "
If you have a copy of your bill please attach here: ".$where_form_is."files/".$field_10_filename." (original file name: " . $_FILES . ")
Email Address: " . $_POST . "
How many handsets are you looking for?: " . $_POST . "
What is your preferred Make: $field_13_opts
How do you want your company handsets: $field_14_opts
How Many text messages do you require per handset: " . $_POST . "
Do you require extra add ons: " . $_POST . "
Specialist Name entering information (Official use Only): " . $_POST . "
powered by phpFormGenerator.
");
include("confirm.html");
?>