When submitting an order on my booking form found here: http://www.n-v-m.co.uk/Booking.html the php file 'sendfile.php' is triggered and this sends booking details to my email account.
This is the php code in 'sendfile.php'
<?php
$Name = $_POST['name']; //senders name
$to = "info@n-v-m.co.uk"; //recipient
$subject = "Order from ".$_POST['company']." (".$_POST['name'].")"; //subject
$message = $_POST['company']."|".$_POST['name']."|".$_POST['phonenum']."|".$_POST['email']."|".$_POST['vmam']."|".$_POST['vreg']."|".$_POST['colladd']."|".$_POST['collconname']."|".$_POST['collconnum']."|".$_POST['deladd']."|".$_POST['delconname']."|".$_POST['delconnum']."|".$_POST['collectiondt']."|".$_POST['deliverydt']."|".$_POST['Taxed']."|".$_POST['billadd']."|".$_POST['custordnum']."|".$_POST['addcom']; //mail body
$from = "NVM Booking Form"; //
$headers = "From: ".$from."\r\n"; //optional headerfields
mail($to, $subject, $message, $headers); //mail command
header( 'Location: http://www.n-v-m.co.uk/Thankyou.html' ) ;
?>
If the booking form is left blank when 'Submit Order' is clicked I would get this sent to my email: '||||||||||||||No|||'. This is because the field 'Is Vehicle Taxed:' must return a value of 'Yes' or 'No'. I have received plenty of orders like this in the past, usually down to people simply testing the form.
On a couple of occasions recently however I have received bookings like this '|||||||||||||||||' which should not be possible as the 'Is Vehicle Taxed:' field should always display either 'Yes' or 'No'! I have since found out a couple of these orders we're serious orders that have not got through to me!
To try and explain what I am trying to say as simply as possible - when I get a booking that displays '||||||||||||||No|||' I know it is just simply somebody messing around with the form but when I get a booking that displays '|||||||||||||||||' I know there has been a problem with the booking process and I could have missed a serious order.
The latter has only happened two times in 6 months so I am inclined to think it is something to do with settings on the PC of the customer making the order. I have tried testing on a few different PC's myself but the orders come through ok every time so I cant trace the problem!
Does anyone have an idea of what could be causing this?