Anonymous - 2012-11-30

When i receive the email my form creates, i get my server address as the from,
i have read the how to's but none seem to work,
i have very little knowledge on php and  was wondering if some one could point me in the right direction.
i want the engineers name in field 1 to be the "from" in the email i receive.

Any help will be much appreciated…

<?php

$where_form_is="http://".$_SERVER.strrev(strstr(strrev($_SERVER),"/"));

mail("example@msn.com,","phpFormGenerator - Form submission","Form data:

Engineer: " . $_POST . "
Item location: " . $_POST . "
Part taken: " . $_POST . "
Asset (if taken from machine): " . $_POST . "
NOTES: " . $_POST . "

TCL APP 2012.
");

include("confirm.html");

?>