Welcome Guest, Not a member yet? Register   Sign In
Posting to self from form

Is there a built in way in CI to post to the actual page/url that the user is on?
So to speak I've a login running, but the user can be at any page and still press the
login button since it's part of my mainpage, and so i just want to post back to whatever page he might be on and then my login will simply check if($this->input->post("loginForm") or similar.

I was thinking to use something similar to $_SERVER['REQUEST_URI'] unless there is a better way.

Messages In This Thread
Posting to self from form - by El Forum - 12-12-2011, 04:30 PM

Theme © iAndrew 2016 - Forum software by © MyBB