Intro:
Usually alexa uses a toolbar to generate some requests to get data about your domain , So what we've done is create a php script that would clone these requests..Basically what it does is make Alexa think that all the visitors to your site have the toolbar installed wich will boost your rank. I just installed it in my sites tonight so I'll keep you updated on how it works so if anyone has a question just post a comment.How it works ?
The Alexa toolbar itself generates a standard HTTP GET request. We can do the same by inserting a <IMG> tag with the resulting url as the source. Alexa actually returns XML markup as a response, but the contents are irrelevent for this purpose; we just want to trigger the logic.There are a bunch of query values in the URL; some are obvious, others... not so much.
The keys to getting this to work is to start page generation with:
<?phpIf your using persistant sessions, you probably already got this.
session_start();
?>
If you don't go to this website for more info : session_start().
Next, create a new function somewhere in your code;
<?php
/*
Developed By Stormix - 2014. All rights are reserved.
*/
//-----------------------------------------------
// Function to improve ALEXA RANK
//-----------------------------------------------
function alexa($url)
{
$url="http://".$url;
$domain = "http://data.alexa.com";
$keylength = 14; // the resulting length of the keyid. 14 and 15 were seen in the wild.
if (isset($_SESSION['alexa_keyid'])){ $keyid = $_SESSION['alexa_keyid'];
}else {
$keyid = substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"),0,$keylength);
$_SESSION['alexa_keyid'] = $keyid;
}
$cli = "10"; // ???
$dat = "snba"; // ???
$ver = "7.2"; // version number of toolbar?
$cdt = "alx_vw"; // ???
$wid = rand(0,32767); // appears to be a random integer initiated when the browser starts.
$act = "00000000000"; // ???
$ssarray = array ("800x800", "1024x768", "1280x768", "1280x800","1280x1024", "1600x1200", "1680x1050", "1920x1200");
shuffle($ssarray);
$ss = $ssarray[0]; // browser screensize. Resulting value is chosen at random from an array of values.
$bw = "1523"; // bandwidth? probably used in calculating metrics related to visitor connection speeds (noted values are close to common connection speeds like 768k, 1mb, 1.5mb, etc.)
$t = "0"; // ???
$ttl = rand(200,1000); // time-to-live? probably used in calculating average load times
$vis = "1"; // ???
$rq = rand(15,80); // appears to increment with each toolbar request
$params="/data/".$keyid."?cli=".$cli."&dat=".$dat."&ver=".$ver."&cdt=".$cdt."&wid=".$wid."&act=".$act."&ss=".$ss."&bw=".$bw."&t=".$t."&ttl=".$ttl."&vis=".$vis."&rq=".$rq."&url=".$url;
return $domain.$params;
}
?>
Finally, insert somewhere on your page the following:
<?php
echo "<img src='".alexa($_SERVER['HTTP_HOST'])."' height='0' width='0'>";
?>
That will trigger the actual event.
Now , How can you add that to a-non PHP websites : Like Blogger
It's simple just follow these steps :
- 1.Create an account on a free hosting company , I suggest Hostinger
- 2.Create a randome domain and upload the php files :
index.php :<?php
/*
Developed By Stormix - 2014. All rights are reserved.
*/
//-----------------------------------------------
// Function to improve ALEXA RANK
//-----------------------------------------------
function alexa($url)
{
$url="http://".$url;
$domain = "http://data.alexa.com";
$keylength = 14; // the resulting length of the keyid. 14 and 15 were seen in the wild.
if (isset($_SESSION['alexa_keyid'])){ $keyid = $_SESSION['alexa_keyid'];
}else {
$keyid = substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"),0,$keylength);
$_SESSION['alexa_keyid'] = $keyid;
}
$cli = "10"; // ???
$dat = "snba"; // ???
$ver = "7.2"; // version number of toolbar?
$cdt = "alx_vw"; // ???
$wid = rand(0,32767); // appears to be a random integer initiated when the browser starts.
$act = "00000000000"; // ???
$ssarray = array ("800x800", "1024x768", "1280x768", "1280x800","1280x1024", "1600x1200", "1680x1050", "1920x1200");
shuffle($ssarray);
$ss = $ssarray[0]; // browser screensize. Resulting value is chosen at random from an array of values.
$bw = "1523"; // bandwidth? probably used in calculating metrics related to visitor connection speeds (noted values are close to common connection speeds like 768k, 1mb, 1.5mb, etc.)
$t = "0"; // ???
$ttl = rand(200,1000); // time-to-live? probably used in calculating average load times
$vis = "1"; // ???
$rq = rand(15,80); // appears to increment with each toolbar request
$params="/data/".$keyid."?cli=".$cli."&dat=".$dat."&ver=".$ver."&cdt=".$cdt."&wid=".$wid."&act=".$act."&ss=".$ss."&bw=".$bw."&t=".$t."&ttl=".$ttl."&vis=".$vis."&rq=".$rq."&url=".$url;
return $domain.$params;
}
echo "<img src='".alexa('YOUR DOMAIN HERE')."' height='0' width='0'>";
?> - 3.Just replace "YOUR DOMAIN HERE" with the website you want to increase it's rank
- 4.Go to blogger and create a HTML/TEXT widget : Add this to it
<iframe src="YOUR FREE HOSTING DOMAIN HERE" />
- 5.That's it
Well this it ! Please post a comment if you have any problem !
.
Tidak ada komentar:
Posting Komentar