Hey , till now I tried a code but it will only work on a freewebs page :s.
I'm looking for the html code that shows visitors ip on all hosts.
Can any1 help?
Printable View
Hey , till now I tried a code but it will only work on a freewebs page :s.
I'm looking for the html code that shows visitors ip on all hosts.
Can any1 help?
can no1 help? :s I think some1 already used this on his/her site so plzz :p
its php i think check http://www.phpfreaks.com/ out
I think you might be able to get a javascript version but im not sure.. the php version is
PHP Code:<?php echo $_SERVER['REMOTE_ADDR']; ?>
splinter the code you gave me I just need to enter in the html page and It will show visitors ip?
You'll need to have a host which supports PHP for the code splinter gave you to work.
I have a host which support php but If i add code to a page saved as .html , It won't show up but I want to put the visitors ip into another page and that page is made in html.. so how i fix this?
Save the page with that code inside it as a .php
but the html codes can stay in it?
Yes they can, just save the page as .php