PHP Classes

authorized page showing error

Recommend this page to a friend!

      PHP Secure Login and Registration  >  PHP Secure Login and Registration package blog  >  Secure PHP Login Scri...  >  All threads  >  authorized page showing error  >  (Un) Subscribe thread alerts  
Subject:authorized page showing error
Summary:how to protected authorized login page?
Messages:1
Author:ed ed
Date:2017-03-13 19:34:05
 

  1. authorized page showing error   Reply   Report abuse  
Picture of ed ed ed ed - 2017-03-13 19:34:05
i tried to access http://localhost/login/user.php page in direct url without login, the page still showing with occurs error message in this below:

Notice: Undefined index: user in C:\xampp\htdocs\login\user.php on line 4

Notice: Undefined index: user in C:\xampp\htdocs\class\user.php on line 397

Notice: Undefined index: user in C:\xampp\htdocs\login\inc\userpage.php on line 23

Firstname

Lastname

Email

Notice: Undefined index: user in C:\xampp\htdocs\login\inc\userpage.php on line 35

Notice: Undefined index: user in C:\xampp\htdocs\login\inc\userpage.php on line 36

Notice: Undefined index: user in C:\xampp\htdocs\login\inc\userpage.php on line 37


Logout

i know error because not authorized user can access this page. Can you help me how to protected this page without showing error?

thank you bro