note 24814 deleted from function.sleep by spic
| From: | spic@php.net | Date: | Thu, 19 Sep 2002 21:59:19 +0000 |
| Subject: | note 24814 deleted from function.sleep by spic | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36998@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().