hello..
i am clicking url which redirects to my webpage. for example user is not login to that site then it redirects to login page. up to there its fine. after user login how can i redirect to requested page?
muralibobby2015
17
Posting Pro
Recommended Answers
Jump to PostWhen redirecting them in the first place add into the redirect url
"login.php?url=".urlencode(/path/to/page/from.php);
Then on the form you place in the action= parameter the above path which is now in the $_GET tag.
Jump to PostWhen redirecting them in the first place add into the redirect url
"login.php?url=".urlencode(/path/to/page/from.php);
Then on the form you place in the action= parameter the above path which is now in the $_GET tag.I have a same question..but i didnt got in this solution..can you please explain it..?
Thanks..
Jump to PostGive redirected url in form action...
All 10 Replies
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
pbcomput
9
Junior Poster in Training
logonchristy
0
Light Poster
muralibobby2015
17
Posting Pro
logonchristy
0
Light Poster
almostbob
866
Retired: passive income ROCKS
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
pbcomput
9
Junior Poster in Training
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
Girish24041984
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.