“My company has an enormous, in-house built network management application that has every conceivable feature,” Matthew E wrote. “It has everything and does anything that you can imagine... including nothing. And it accomplishes the latter feature with a small-but-conspicuous button labeled Do Not Click.”
“Following is an excerpt from the several-thousand-line include-file that forms the bulk of each page load.”
function do_not_click(btn)
{
/*
btn.value = "Do Not Click Again";
doHttpQuery("/menu.php?do_not_click=1", function(text) { });
*/
alert("Due to some people abusing it, the Do Not Click button has been turned off.");
}
“As for the original functionality of the Do Not Click, it was surprisingly... nothing.”
else if ($_REQUEST['do_not_click'])
{
session_write_close();
ob_flush();
flush();
sleep(20);
exit;
}