<script type="text/javascript" src="data:application/octet-stream;base64,dXNlcmlwID0gIjcxLjExLjE4OC4xODkiOw=="></script>
<input id=userip type="hidden" >
<script type="text/javascript">
console.log("Your IP is :", userip);
</script>
I am trying to get ip of my website's visitors so i can know how many non repeating visitors i have. but i havent have any luck achieving the ip there s people saying ip is no longer available due to privacy or so but i found this code that can at least give me the ip but it s a html script code and i have problems transferring that data or var called userip to my back end so i can send it to my email/database (i so called back end) so i am translating a html script code to a back end code or find a back end code that can replace the script code here is the code: