PHP Classes

File: example-ipsniffing.txt

Recommend this page to a friend!
  Classes of Girish M. Nambiar  >  IP Sniffing  >  example-ipsniffing.txt  >  Download  
File: example-ipsniffing.txt
Role: Example script
Content type: text/plain
Description: all you need to do is as instructed in the file "example-ipsniffing.txt"
Class: IP Sniffing
Get the location of an IP using
Author: By
Last change:
Date: 8 years ago
Size: 458 bytes


Class file image Download
 * @example code for using IPSniffing class.

require_once("path to ipsniffing class");
$objIPSniff = new IPSniffing();

// access the information as under.
echo "Country Name: ".$objIPSniff->countryName;
"<br/>Country Code: ".$objIPSniff->countryCode;
"<br/>City Name: ".$objIPSniff->cityName;

// to see all the details fetched, print_r($this->objResult) at the end of the function sendURL.