Authenticate user
| From: | Rui | Date: | Thu, 20 Feb 2003 23:48:10 +0000 |
| Subject: | Authenticate user | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-18644@lists.php.net to get a copy of this message | ||
I'm trying to make a page that requires an authentification by the user.
A lot of problems appear when I run a script copied from the "O'Reilly : Web
Database Applications".
One of them is the function :clean: that doesn't exist, according with the
php compiler:
session_start();
$authenticated = false;
// Clean the data collected from the user
$appUsername =
clean($HTTP_POST_VARS["formUsername"], 10);
$appPassword =
clean($HTTP_POST_VARS["formPassword"], 15);
Can someone tell me what is the prob? Where can I get information for this
kind of script?
Thanks.