Jun
Email Form PHP - HELP!
I have the following code for my php form, it works.
<?php
/* Subject & Email Variables */
$emailSubject = ‘Email From Website’;
$webMaster = ‘EMAIL ADDRESS OMITTED’;
/* Gathering Data Variables */
$nameField = $_POST[‘name’];
$emailField = $_POST[‘email’];
$subjectField = $_POST[’subject’];
$messageField = $_POST[‘message’];
$body = <<<EOD
Name: $nameField<br>
Email: $emailField <br>
Subject: $subjectField <br>
Message: $messageField
EOD;
$headers = “From: $emailField\r\n”;
$headers .= “Content-type: text/html\r\n”;
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results renderd as HTML */
$theResults = <<<EOD
Content has being sent, thank you!
EOD;
echo
“$theResults”;
?>
I would like to know how i can gather computer information of the people who are posting the form without them knowing for purposes of blocking users and spam.
I would like to collect:
- ISP
- IP Address
- Browser
- Computer Operating System
- Country
Thank you for you help.
30,000 Mb And Unlimited Bandwidth Only $3.75/mo.
Powered By: BigInfo.org
Relevant Links

