note 24814 added to function.sleep
| From: | php-general at lists dot php dot net | Date: | Thu, 29 Aug 2002 05:41:35 +0000 |
| Subject: | note 24814 added to function.sleep | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35962@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().
--
http://www.php.net/manual/en/function.sleep.php
http://master.php.net/manage/user-notes.php?action=edit+24814
http://master.php.net/manage/user-notes.php?action=delete+24814
http://master.php.net/manage/user-notes.php?action=reject+24814