I have put a form on a website I have built for my dad's business that allows potential customers to ask for a quote, it is much like a 'contact us' layout, it is here: http://www.darcyengineering.com.au/RequestQuote.html
I have used a php script for the form and was wondering how vulnerable I have made myself (and the information that users submit through this form) to third party monitoring? I have heard that some programs search for these sorts of things and use the email addresses to send spam to?
If I have left myself with a security issue, what is the best (free preferably!) solution?
I am happy to learn a little about php code to do this, I just need a little guidance!
For those interested, here is the php coding - I used www.thesitewizard.com to make it as well as secuirty notes from another site - I can go through my history and find it is anyone is interested:
CODE
<?
$name = strip_tags(substr($_REQUEST['name'],0,32));
$company = strip_tags(substr($_REQUEST['company'],0,32));
$email = strip_tags(substr($_REQUEST['email'],0,32));
$phone = strip_tags(substr($_REQUEST['phone'],0,32));
$mobile = strip_tags(substr($_REQUEST['mobile'],0,32));
$description = strip_tags(substr($_REQUEST['description'],0,32));
mail( "info@darcyengineering.com.au", "Quote Request",
"Name: $name\nCompany:$company\nEmail: $email\nPhone: $phone\nMobile: $mobile\nJob Description: $description",
"From: $email");
header( "Location: http://www.darcyengineering.com.au/QuoteRequestReceived.html" );
?>
$name = strip_tags(substr($_REQUEST['name'],0,32));
$company = strip_tags(substr($_REQUEST['company'],0,32));
$email = strip_tags(substr($_REQUEST['email'],0,32));
$phone = strip_tags(substr($_REQUEST['phone'],0,32));
$mobile = strip_tags(substr($_REQUEST['mobile'],0,32));
$description = strip_tags(substr($_REQUEST['description'],0,32));
mail( "info@darcyengineering.com.au", "Quote Request",
"Name: $name\nCompany:$company\nEmail: $email\nPhone: $phone\nMobile: $mobile\nJob Description: $description",
"From: $email");
header( "Location: http://www.darcyengineering.com.au/QuoteRequestReceived.html" );
?>
Thanks
Michelle
