Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 1 decade ago

simple script to find visitors ip address?

Does anyone know a really simple script to find and show a visitors ip address?

Thanks!

Update:

for the first person who answered, and obviously knows nothing, its for this website

http://www.arst3000.com/small/mapip/

so people can try it with their own ip

Update 2:

thanks for nothing yahoo answers

here's the solution

----------------

<?php

print ('<font size="X">Your IP is: '.$REMOTE_ADDR.'.</font>');

?>

2 Answers

Relevance
Still have questions? Get your answers by asking now.