Welcome Guest, Not a member yet? Register   Sign In
trouble with simple paths when i post
#2

[eluser]w3ttr3y[/eluser]
The problem is that you are using relative URL's. The first time this works because you are accessing http://localhost/myapp/ so when it sees Registration/Register then it just appends it to the end.

The way to fix this is to always use absolute URL's. Since you still want to be portable in case you move your code look into using the base_url function (http://ellislab.com/codeigniter/user-gui...elper.html).


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



Theme © iAndrew 2016 - Forum software by © MyBB