Jump to content

problem in including session


Recommended Posts

In main.php you're submitting the form to attendence.php

<form name="form1" action="attendance.php" method="get">


If you don't want the user to go to attentdence.php then set the forms submit action to main.php. Now above your form include attendence.php. Also I'd recommend you to change your forms submit method to post. Passing usernames/passwords over the url is insecure. You should also be encrypting your passwords within the database too.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.