[eluser]joeizang[/eluser]
hey guys,
I have a funny thing that happens to my local setup for development. I have a form with action like so:
Code:
<div class="entry">
<p>
<form action="students/loginstudent" method="POST" id="studentlogin">
<p><label for="Username"><strong>Username :</strong><input name="user_name" id="uname" type="text"/></label></p>
<p><label for="Password"><strong>Password :</strong><input name="password" id="password" type="password"/></label></p>
<p><input name="submitbtn" id="logbtn" type="submit" value="Login"/></p>
</form>
</p>
<?php
echo '<p class="errors"><strong>'.$this->ion_auth->errors().'</strong></p>';
echo '<p class="errors"><strong>'.validation_errors().'</strong></p>';
?>
and I have a function in my students controller called loginstudent. Now when I try to login I am brought back to the login form again but the url says this:
Code:
http://localhost:8888/schoolmanager/index.php/students/students/loginstudent
so my question is has anyone encountered this before? I thought of sharing this here first as I think this is the best place to start finding answers.
Thanks for all the help!!!
:question: