How to change or "mask" message/send in URL to just message? |
[eluser]term25[/eluser]
I would like to change or mask the function name in my url, so when the send button on the contact page (http://localhost/message) is clicked, it goes to the function send in my message controller. And here is the problem. When the user make a mistake a form_validation catch the error and send it back to the view like -> Code: if ($this->form_validation->run() == FALSE) It should be OK, however the URL in the browser looks like: http://localhost/message/send which doesn't look "cool". Is there a way how to mask or change the URL address to be always just http://localhost/message even after the form_validation error? How can I do such thing via htaccess or some trick in CodeIgniter itself? Thanks in advance. |
Messages In This Thread |
How to change or "mask" message/send in URL to just message? - by El Forum - 06-16-2012, 12:32 AM
How to change or "mask" message/send in URL to just message? - by El Forum - 06-18-2012, 09:20 AM
How to change or "mask" message/send in URL to just message? - by El Forum - 06-18-2012, 09:28 AM
How to change or "mask" message/send in URL to just message? - by El Forum - 06-18-2012, 11:28 AM
|