cameeob2003 Posted July 1, 2006 Share Posted July 1, 2006 I was wondering if including the login.php in the index.php file is safe im usingexample:[code]<?phpif($_GET['page'] == "login"){my processing form};?>[/code]then i am refrencing it through the followingexample:[code]<form name="form" action=?page=login>form</form>[/code]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. Link to comment https://forums.phpfreaks.com/topic/13382-including-the-login-form-in-the-index-file-is-it-safe/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.