Hey I hope someone can help me here. I managed to create a simple feedback form and am now using it for an online booking form. However this worked great for about 3 weeks then just stopped working.
Here is my code
<?php
$odate = $_REQUEST['odate'] ;
$otime = $_REQUEST['otime'] ;
$npeople = $_REQUEST['npeople'] ;
$airport = $_REQUEST['airport'] ;
$flight = $_REQUEST['flight'] ;
$name = $_REQUEST['name'] ;
$address = $_REQUEST['address'] ;
$postcode = $_REQUEST['postcode'] ;
$phone = $_REQUEST['phone'] ;
$mobile = $_REQUEST['mobile'] ;
$email = $_REQUEST['email'] ;
$rdate = $_REQUEST['rdate'] ;
$rtime = $_REQUEST['rtime'] ;
$rflight = $_REQUEST['rflight'] ;
$ffrom = $_REQUEST['ffrom'] ;
$cccard = $_REQUEST['cccard'] ;
mail( "wildpianist@sk y.com", "Online Booking\n$odate ",
"\nOutward Date: $odate\nOutward Time: $otime\nNumber of people: $npeople\nAirpo rt: $airport\nName of Customer: $name\nAddress: $address\nPostc ode: $postcode\nPhon e number: $phone\nMobile number: $mobile\nEmail address: $email\n\nDate of Return: $rdate\n Time of Return: $rtime\nReturni ng Flight Number: $rflight\nFlyin g From: $ffrom\nPayment Method: $cccard\n\n");
header( "Location: http://www.airportrunn ers.com/thankyou.html" );
?>
I have also made a bog standard one which seemed to work fine, but for some reason this one doesn't want to send the email to me.
Any suggestions would be greatly appreciated
Dave
Here is my code
<?php
$odate = $_REQUEST['odate'] ;
$otime = $_REQUEST['otime'] ;
$npeople = $_REQUEST['npeople'] ;
$airport = $_REQUEST['airport'] ;
$flight = $_REQUEST['flight'] ;
$name = $_REQUEST['name'] ;
$address = $_REQUEST['address'] ;
$postcode = $_REQUEST['postcode'] ;
$phone = $_REQUEST['phone'] ;
$mobile = $_REQUEST['mobile'] ;
$email = $_REQUEST['email'] ;
$rdate = $_REQUEST['rdate'] ;
$rtime = $_REQUEST['rtime'] ;
$rflight = $_REQUEST['rflight'] ;
$ffrom = $_REQUEST['ffrom'] ;
$cccard = $_REQUEST['cccard'] ;
mail( "wildpianist@sk y.com", "Online Booking\n$odate ",
"\nOutward Date: $odate\nOutward Time: $otime\nNumber of people: $npeople\nAirpo rt: $airport\nName of Customer: $name\nAddress: $address\nPostc ode: $postcode\nPhon e number: $phone\nMobile number: $mobile\nEmail address: $email\n\nDate of Return: $rdate\n Time of Return: $rtime\nReturni ng Flight Number: $rflight\nFlyin g From: $ffrom\nPayment Method: $cccard\n\n");
header( "Location: http://www.airportrunn ers.com/thankyou.html" );
?>
I have also made a bog standard one which seemed to work fine, but for some reason this one doesn't want to send the email to me.
Any suggestions would be greatly appreciated
Dave
Comment