Configuration: Windows XP Internet Explorer 6.0
|
Hai
JavaScript is client side and isolated to the browser you'd have to send it to the server in some request. Then the server would have to take that variable and email it. |
You can use PHP to achieve this easily. Try the following:
<?php $ip = $_SERVER['REMOTE_ADDR']; $to = 'youremailid@yourname.com'; // Your email address here $subject = 'new users IP'; // Subject of mail mail ($to,$subject,$ip); // send mail ?> but this is probably stupid. It will send off an email each time a user reloads the page. You ll get a lot of mail. |
Results for
Results for
Results for
Results for
Results for
Results for