Tip: Click lines to highlight, hold ctrl/cmd to multi-select
http://codedumper.com/ojivu (11-Apr @ 17:39)
Used to demonstrate a delay in loading a script tag. Would be called using:
<script src="?delay" type="text/javascript"></script>
Syntax Highlighted Code
Plain Code
if (@$_GET['action'] == 'delay') {
sleep(1); // force a slow response
echo 'true;'; // don't cause JS errors
exit;
}