Jump to content


Including the login form in the index file. Is it safe?

  • Please log in to reply
No replies to this topic

#1 cameeob2003

  • Members
  • PipPipPip
  • Advanced Member
  • 79 posts

Posted 01 July 2006 - 01:29 PM

I was wondering if including the login.php in the index.php file is safe im using

if($_GET['page'] == "login"){
my processing form

then i am refrencing it through the following
<form name="form" action=?page=login>

I hope that explains the basics I am using sessions to secure the site a bit but im not sure if I should use this method to login or not. I have a separet db.php file which i refrence to run all my sql querys. But im asking cuz i heard this can be a security risk.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users