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
Post a Comment