trouble with simple paths when i post |
[eluser]André Padez[/eluser]
Hey everyone, this is my first post here and i'm really new to codeigniter and to the MVC model, although i have experience in programming with php. This is my problem: I have [.htaccess] configured for [mod_rewrite], i have [uri_protocol] set to [Auto]. The url to my site is [http://localhost/myapp] So i have a controller, [Registration] where i call a view with a registration form, setup like this: Code: <form action="Registration/Register" method="post"> the first time i hit submit, it posts and it returns from the function, as expected, and the url changes to [http://localhost/myapp/Registration/Register] but if i click submit again, it doesn't run the function as it keeps adding "Registration/" to my url, ie, the second time i click i get [http://localhost/padezcms/Registration/R...n/Register] and the third [http://localhost/padezcms/Registration/R...n/Register], etc. Can anyone please give me a hand with this? i'm really stuck. Thanx |
Messages In This Thread |
trouble with simple paths when i post - by El Forum - 11-11-2010, 02:27 PM
trouble with simple paths when i post - by El Forum - 11-11-2010, 11:10 PM
trouble with simple paths when i post - by El Forum - 11-12-2010, 12:03 AM
trouble with simple paths when i post - by El Forum - 11-12-2010, 02:57 AM
trouble with simple paths when i post - by El Forum - 11-12-2010, 05:01 AM
trouble with simple paths when i post - by El Forum - 11-12-2010, 10:00 AM
|