I am sending form data (views to controller) but i want to remove index.php from url. For this I removed index.php from config.php but it is not working for me. How can I remove index.php from the url and post data without using index.php? Here is my code in views:
<form method="post" action="<?php echo base_url()?>/index.php/Home/login">
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" name="name"id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email" required>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input maxlength="10" minlength="3" type="password" name="name" class="form-control" id="exampleInputPassword1" placeholder="Password"required>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>