Аз мисля че от smslog.txt и този код:
</html>';
$openfile = 'C:\smslog.txt';
$handle = fopen($openfile, "r");
$contents = fread($handle, filesize($openfile));
$linez = explode("\n", $contents);
$inarray = count($linez);
$i = 0;
$givecredits = 500;
while($i<$inarray) {...