Visitor IP: " . $ip . "  /  " . "Visitor's Country: " . $country . "";//ADDED By JVN //ORIGINAL//echo "
    Visitor IP: " . $ip . "
";//ADDED By JVN //ORIGINAL//echo "
    Visitor's Country: " . $country . "
"; //Visitor-Log.txt Created by jvn //ORIGINAL//Create log.txt and CHMOD to 777 //Include this on the page you want this on //Get users IP //DEBUG BLOCK - Not Needed, I Think $ip = $SERVER["REMOTE_ADDR"]; $ref = $SERVER["HTTP_REFERER"]; $plat = $SERVER["PLATFORM"]; //HOLD//Searching for correct code//$country = geoip_country_name_by_name; $host = $referer['host']; $REQUEST_TIME = $REQUEST_TIME; $UserAgent = $HTTP_USER_AGENT; $host = $_SERVER['HTTP_HOST']; $submissions = 0; $PAGE = ("Default Index"); $country = $SERVER["GEOIP_COUNTRY"]; //Set date $date = date("l d F H:i:s"); //Open {Visitor-Log - Unique} file and write IP and date $fp = fopen("Visitor-Log.txt", "a"); fputs($fp, "\n DATE: $date $DATE_RFC822 \n USER IP: $REMOTE_ADDR \n REFERRER: $HTTP_REFERER \n USER AGENT: $UserAgent \n COUNTRY: $country \n PAGE: $PAGE \n GLOBAL: $GLOBALS \n SCRIPT_FILENAME: $SCRIPT_FILENAME \n HOST: (REFERRER): $host \n LANGUAGE: $HTTP_ACCEPT_LANGUAGE \n REMOTE_USER: $REMOTE_USER \n PHP_SELF: $PHP_SELF \n GATEWAY INTERFACE: $GATEWAY_INTERFACE \n SERVER_ADDRESS: $SERVER_ADDR \n SERVER NAME: $SERVER_NAME \n REQUEST METHOD: $REQUEST_METHOD \n HTTP ACCEPT CHARSET: $HTTP_ACCEPT_CHARSET \n HTTP ACCEPT ENCODING: $HTTP_ACCEPT_ENCODING \n"); //Close the file fclose($fp); //Open {Visitor-Log - All} file and write IP and date $fp = fopen("Visitor-Log-All-Hits.txt", "a"); fputs($fp, "\n DATE: $date $DATE_RFC822 \n USER IP: $REMOTE_ADDR \n REFERRER: $HTTP_REFERER \n USER AGENT: $UserAgent \n COUNTRY: $country \n PAGE: $PAGE \n GLOBAL: $GLOBALS \n SCRIPT_FILENAME: $SCRIPT_FILENAME \n HOST: (REFERRER): $host \n LANGUAGE: $HTTP_ACCEPT_LANGUAGE \n REMOTE_USER: $REMOTE_USER \n PHP_SELF: $PHP_SELF \n GATEWAY INTERFACE: $GATEWAY_INTERFACE \n SERVER_ADDRESS: $SERVER_ADDR \n SERVER NAME: $SERVER_NAME \n REQUEST METHOD: $REQUEST_METHOD \n HTTP ACCEPT CHARSET: $HTTP_ACCEPT_CHARSET \n HTTP ACCEPT ENCODING: $HTTP_ACCEPT_ENCODING \n"); //Close the file fclose($fp); ?> NATIVE AMERICAN EMBASSY - North and South American Indians: Over a Million Years of Survival (Default Opening)

Native American Embassy

125 Bergen Street, Garfield, New Jersey 07026
Phone: 973-546-9300

    UPDATED: October 3, 2006
Please Wait
Please Wait


CLICK HERE
to
ENTER




eXTReMe Tracker



Metrojersey.com

New Jersey's #1 Website Directory



Valid CSS!


Keywords