Ok, I have a form, I want to make sure the same person isn't just making new accounts with the same IP address, so I want to make sure that I can grab there IP Address, and then keep it to see if anyone is making multiple accounts...
I already tried this script but it didn't work, because I think its a little cheaply written...
I'm not advertising any websites, I just want to know how I can grab the user's ip address when they fill out my form *basicly if you can get it to a
<!-- This script and many more are available free online at -->
// Depending on your server set-up,
// you may need to use the ".shtml"
// extension [instead of the "html"
// or "htm"] as the script uses Server
// Side Includes. To display in the
// title bar, exclude the
//"<title></title>" code from the page.
// This part gets the IP
var ip = '188.8.131.52';
// This part is for an alert box
alert("Your IP address is "+ip);
// This part is for the status bar
window.defaultStatus = "Your IP address is "+ip;
// This part is for the title bar
document.write("<title>Your IP address is "+ip+"</title>");
// End -->
so it can come out like that, that would be great, I don't want it as an alert or in the status bar, because you never look there unless ure told to, loading something, or looking to see where ure being taken...
document.write("<input type='text' value='"+ipaddressfunction+"' name='userip'/ readonly='true'>