note 8124 deleted from function.sleep by jsheets

From: Date: Mon, 27 Jan 2003 23:22:14 +0000
Subject: note 8124 deleted from function.sleep by jsheets
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-42890@lists.php.net to get a copy of this message
sleep() is useful as a hack delay. For example, in a login screen. Use sleep() when you have determined the username/password combination entered in a form is invalid. A sleep of a second is almost not noticable to the user, but frustrates a cracker trying to use brute force methods to gain access to your restricted area. Make sure you use sleep() before outputting any HTML, otherwise you may tip the cracker that the login failed before you enter sleep().

« previous php.notes (#42890) next »