...

View Full Version : checksum question



durangod
12-01-2010, 06:57 PM
not sure if this should go in the perl section or php since this was in my php install file..

but what exactly does this do during the software install process..
and why is it doing the checksum on google.. just curious... its buggen me...




$check_sum = getChecksum('www.google.com');
$cron_pr_perl = ('6387585835' == $check_sum) ? 0 : 1;


i changed the number to see if i could get it to bomb on me to figure out what it did and no errors so what is that random number (is that the checksum md5 valueof the install page, im lost as to the intent of these two lines.. and what the values mean.

Lamped
12-01-2010, 07:12 PM
What software was it in, what file was it in?

durangod
12-01-2010, 07:23 PM
its an affiliate software open source, and its in the install.php

here is the function



function get_checksum($aUrl)
{
return '6'.GCH(strord('info:'.$aUrl));
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum