Welcome Guest, Not a member yet? Register   Sign In
How it works?
#1

[eluser]Wondering Coder[/eluser]
If I have a form like this:
Code:
<form action="<?php echo base_url();?>index.php/login/validate_credential">
......
</form>
Now when I submit the form my url will look like this: localhost/dcs-pps/index.php/login/validate_credential. right?

If I have an htaccess like this:
Code:
RewriteEngine on
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) index.php/$1 [L]

will this remove the index.php? Will my url look like this: localhost/dcs-pps/login/validate_credential
#2

[eluser]Wondering Coder[/eluser]
nvmind, after 3 and half hrs of googling finally solve my problem.
#3

[eluser]byde[/eluser]
[quote author="Wondering Coder" date="1313715856"]nvmind, after 3 and half hrs of googling finally solve my problem.[/quote]

you should post the solution




Theme © iAndrew 2016 - Forum software by © MyBB