Welcome Guest, Not a member yet? Register   Sign In
change the URL to something more friendly
#1

[eluser]mistress_shiira[/eluser]
hi guys!
i have a controller that loads a certain view file.
the URL seen on the browser is this:
http://localhost/CodeIgniter_1.5.3/index.php/Admin
that view file basically shows a log in page.i have a function in my controller that checks for validation.
in my view file i have this line
<form id="admin" method="post" action="validate">
where validate is the name of the function that checks for validation
after it has validated,it would go to another view called main.php
the url becomes this:http://localhost/CodeIgniter_1.5.3/index.php/Admin/validate
how will i be able to change the url so that what is reflected is the base url and the actual name of the page?


Messages In This Thread
change the URL to something more friendly - by El Forum - 11-08-2007, 02:07 AM
change the URL to something more friendly - by El Forum - 11-08-2007, 02:24 AM
change the URL to something more friendly - by El Forum - 11-08-2007, 02:29 AM
change the URL to something more friendly - by El Forum - 11-08-2007, 02:39 AM
change the URL to something more friendly - by El Forum - 11-08-2007, 05:13 PM
change the URL to something more friendly - by El Forum - 11-08-2007, 05:29 PM
change the URL to something more friendly - by El Forum - 11-08-2007, 05:32 PM
change the URL to something more friendly - by El Forum - 11-08-2007, 05:40 PM
change the URL to something more friendly - by El Forum - 11-08-2007, 05:51 PM
change the URL to something more friendly - by El Forum - 11-09-2007, 05:06 AM
change the URL to something more friendly - by El Forum - 11-09-2007, 05:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB