Sean Wei says to YSITD
$hash = substr(md5($reqStr), 0, 5) . substr(md5($respStr), 0, 3); file_put_contents(".../payload/$method-$hash", "$botName\n$reqStr\n$respStr"); file_put_contents(".../payload/index", "$time\t$botName\t$method\t$hash\n", FILE_APPEND);