finding the ip adres of the visitor of a web site.

2006-01-21 Thread mustafa sahin
Hi to all IPv6 users,Does anyone know how can i learn the ip adres of a client that is connected to my web site, and whether he/she uses IPv6 address or not, like www.kame.net and www.sixxs.net does at the bottom of their sites. Is there any open source script for this. I will also appreciate if

Re: finding the ip adres of the visitor of a web site.

2006-01-21 Thread mustafa sahin
Hi again,I found the answer of my question, and dont want to take your valuable time.Incase any other friend needs this, i am giving the simple php code.?php if (ereg(':',$_SERVER['REMOTE_ADDR'])) { echo You're using IPv6; } else { echo You're using IPv4; }?/pp?php echo Your IP address is: