View Full Version : checksum question

12-01-2010, 07: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.

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

12-01-2010, 08: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));