php - Get Redirect-Url on login page -



php - Get Redirect-Url on login page -

i want redirect user page within login-area of page. problem is, dont know how acccess page want redirected to, after login page. network-section of firebug (see picture) tells me, page gets get-request, how can access , extract redirect-url?

i tried code this question wouldnt work. first illustration (trying access via fwrite($sock, $request);) tells me, request "bad request".

on sec example, trying extract header via $headers = get_headers($url, 1); page doesnt load anymore. learned, that happens because recursive function, have no thought how solve problem.

i hope question understandable , can help me!

php redirect get

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -