Originally posted by Installer
You don't mean to tell us that the code you posted actually runs, do you? Because the line:
$_SERVER['REMOTE_ADDR']
will generate a parse error.
Thanks Installer for the code. But your code does not work.
What i want to know is How Do I get the IP address and country of the visitor e-mailed to me alongwith the other details of the Form.
I have the following four fields in my Form
Name:
E Mail:
Where are you from :
Your Comments :
What I find is that many people do not give their correct E mail address and where they are from. Just to know where my visitor is from, I would like these details also e-mailed to me, without the visitor knowing it. Is this possible and what is the code for that?
You suggested to echo out the date. When I do that, it does show the date and IP address to the visitor ONLY, but nothing sent to me. This is not how I wanted it.
I am not sure whether what I am saying makes sense or not. If this is one of those stupid questions, please do not bother to reply. Thanks for all your help.