Home.

Back

Example of gethostbyaddr API

Article on Zebra Tables

Getting Environment Variables in CGIDEV2

Ascending Subfile example with additional features




Here is a list of recent visitors.   I am using CGIDEV2's getenv() procedure to capture the Remote IP Address. I use the gethostbyaddr() API to get Host Address of the IP Address.   When I display the data, I am using a CSS technique called Zebra Tables.

   Remote IP      Host Address      First Visit      Latest     Visits  
  64.1.215.162    crawl-6.cuill.com    2008-11-19     2008-11-19     1  
  72.30.78.224    llf531350.crawl.yahoo.net    2008-11-19     2008-11-19     1  
  70.183.21.82    wsip-70-183-21-82.oc.oc.cox.net    2008-11-18     2008-11-18     9  
  204.50.182.139    *FAIL    2008-11-18     2008-11-18     1  
  62.197.91.217    62-197-91-217.teledisnet.be    2008-11-18     2008-11-18     1  
  81.44.88.107    107.Red-81-44-88.dynamicIP.rima-tde.net    2008-11-17     2008-11-17     1  
  70.29.145.138    bas1-montreal48-1176342922.dsl.bell.ca    2008-11-16     2008-11-16     1  
  72.30.81.154    llf531200.crawl.yahoo.net    2008-11-16     2008-11-16     1  
  200.56.227.50    ip-200-56-227-50-mty.marcatel.net.mx    2008-11-15     2008-11-15     1  
  87.29.148.17    host17-148-static.29-87-b.business.telec    2008-11-15     2008-11-15     1  
  72.30.79.25    llf531303.crawl.yahoo.net    2008-11-15     2008-11-15     1  
  63.161.203.11    *FAIL    2008-11-14     2008-11-14     4  
  193.86.1.34    *FAIL    2008-11-14     2008-11-14     1  
  72.30.142.107    llf531141.crawl.yahoo.net    2008-11-14     2008-11-14     1  
  79.171.128.25    *FAIL    2008-11-14     2008-11-14     1  
  168.180.226.131    *FAIL    2008-11-13     2008-11-13     2  
 
Next