Member
Member
ballsmag   2006-01-10, 18:09
#1

In zp_auth.php:
if (isset($_COOKIE['zenphoto_auth'])) {
[code for pre-authenticated sessions]
} else {
[code to handle new logins from form]
}

However, if the zenphoto_auth cookie is not valid, you cannot login at all because the form handling is handled in the else. The form handling should be outside of an else altogether.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.