examples/whatsapp.php
private function webLogin()
    {
        if ($this->inputs['password'] == $this->config['webpassword']) {
            $_SESSION['logged_in'] = true;
            exit($this->showWebForm());
        } else {
            $error = 'Sorry your password was incorrect.';
            exit($this->showWebLoginForm($error));
        }
    }
private function webLogin()
    {
        if ($this->inputs['password'] == $this->config['webpassword']) {
            $_SESSION['logged_in'] = true;
            exit($this->showWebForm());
        } else {
            $error = 'Sorry your password was incorrect.';
            exit($this->showWebLoginForm($error));
        }
    }
private function webLogin ( ) { if ( $ this -> inputs [ 'password' ] == $ this -> config [ 'webpassword' ] ) { $ _SESSION [ 'logged_in' ] = true ; exit ( $ this -> showWebForm ( ) ) ; } else { $ error = 'Sorry your password was incorrect.' ; exit ( $ this -> showWebLoginForm ( $ error ) ) ; } }
Process the web login page.

@return void
Process the web login page .