PHP Classes

example file

Recommend this page to a friend!

      IP Sniffing  >  All threads  >  example file  >  (Un) Subscribe thread alerts  
Subject:example file
Summary:Package rating comment
Author:hamed hosseini
Date:2009-12-17 17:49:34
Update:2009-12-31 10:06:55


hamed hosseini rated this package as follows:

Utility: Insufficient
Consistency: Not sure

  1. example file   Reply   Report abuse  
Picture of hamed hosseini hamed hosseini - 2009-12-17 17:49:34
example file

  2. Re: example file   Reply   Report abuse  
Picture of Girish M. Nambiar Girish M. Nambiar - 2009-12-31 10:06:55 - In reply to message 1 from hamed hosseini
all you need to do is as below:
require_once("path to ipsniffing class");
$objIPSniff = new IPSniffing();

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

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