PHP allows you to do this
Display The IP Address
So, if you want to display the IP Address to the user then the following
page will suffice:
?php
echo Hello! Your IP Address is: . $_SERVER['REMOTE_ADDR'];
?
http://whn.vdhri.net/2005/11/find_a_visitors_ip_address_with_php.html
Michael
I have a client who wants a page personalized for him similar to this:
http://www.vermiip.es/il-mio-ip/
so people can discover their IP.
I have Googled about trying to find code that does it, but all I find
are site that do it.
Does anyone know (have) the code?
Bob Schwartz
For something that simple you could use PHP and use $_SERVER['REMOTE_ADDR']
www.php.net
James
On Nov 10, 2007 1:41 PM, Bob Schwartz [EMAIL PROTECTED] wrote:
I have a client who wants a page personalized for him similar to this:
http://www.vermiip.es/il-mio-ip/
so people can discover
Thanks James,
Only one minor problem, I know nearly nothing about PHP.
How would I write this up?
Bob
For something that simple you could use PHP and use $_SERVER
['REMOTE_ADDR']
www.php.net
James
On Nov 10, 2007 1:41 PM, Bob Schwartz [EMAIL PROTECTED] wrote:
I have a client who wants a
On Nov 10, 2007 10:30 AM, Bob Schwartz [EMAIL PROTECTED] wrote:
Thanks James,
Only one minor problem, I know nearly nothing about PHP.
How would I write this up?
This is TOTALLY off topic for this list so I'll answer this question
now but if you have further questions just e-mail me
If you only want to show the user there IP address, something as simple as
?php print $_SERVER[''REMOTE_ADDR] ?
... would work.
On Nov 10, 2007 3:30 PM, Bob Schwartz [EMAIL PROTECTED] wrote:
Thanks James,
Only one minor problem, I know nearly nothing about PHP.
How would I write this up?
OK thanks, having just had my wrists slapped by another, I'll drop
this off topic thread.
Bob
If you only want to show the user there IP address, something as
simple as
?php print $_SERVER[''REMOTE_ADDR] ?
... would work.
On Nov 10, 2007 3:30 PM, Bob Schwartz [EMAIL PROTECTED] wrote: