Click here to Skip to main content
15,885,546 members

Comments by sumoncse07 (Top 3 by date)

sumoncse07 21-Sep-22 14:48pm View    
wp_is_mobile
Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers' presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloal

this is what i am getting most of time in my database
sumoncse07 21-Sep-22 14:30pm View    
Deleted
session_start();
$dns = $_SERVER['SERVER_NAME'];
$host = explode('.', $dns);
$subdomain = $host[0];
$domain = $host[1].'.'.$host[2];

$serverdetails = $_SERVER['HTTP_USER_AGENT'];
$ip=$_SERVER['REMOTE_ADDR'];
$token= session_id();;
$poston= date("Y-m-d H:i:s");



$sUrl="http://localhost/sp/rChecker/store";


$data=array('domain' => $domain,'subdomain' => $subdomain,'serverdetails' => $serverdetails,'ip' => $ip,'token' => $token,'poston' => $poston);

$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => $sUrl,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 1,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS=> $data,
CURLOPT_HTTPHEADER => array(
'header-token: mytoken',
'Authorization: Basic sdafsdsadfsd',
),
));

$response = curl_exec($curl);

curl_close($curl);
//echo $response;
sumoncse07 1-Sep-22 15:25pm View    
this is closer but not 100%