IP Addresses


#1

Can someone give me some simple code that I can put in a html file to show the IP address of the systemn connected?

Thanks.

Also send to rww@realpix.com


#2

There is no HTML tag that will display that particular environment variable; you’ll need to (likely) look into something in the realm of CGI, PHP, or server-side includes…

If I remember correctly, the SSI command of:

should do what you want. Refer to http://httpd.apache.org/docs/mod/mod_include.html and http://httpd.apache.org/docs/howto/ssi.html for more info…