Posted by Vincent Delporte on 02/08/07 12:48
On 8 Feb 2007 04:14:47 GMT, Kim André Akerø
<kimandre@NOSPAMbetadome.com> wrote:
>For a more "foolproof" method:
Thanks for the tip, but the script keeps redisplaying the form:
$login = (isset($_POST["login"]) and !empty($_POST["login"])) ?
$_POST["login"] : NULL;
$password = (isset($_POST["password"]) and !empty($_POST["password"]))
? $_POST["password"] : NULL;
//BAD if(!$login or !$password) {
//BAD if(empty($login) or empty($password)) {
Navigation:
[Reply to this message]
|