PHP: Check if URL redirects?

Posted by Industrial on Stack Overflow See other posts from Stack Overflow or by Industrial
Published on 2010-06-03T10:00:08Z Indexed on 2010/06/03 10:14 UTC
Read the original article Hit count: 213

Filed under:
|
|
|

Hi everybody,

I have built a secured login backend that controls if a user is logged in or not. If not, the user is redirected to a login page.

I would like to make a PHP function that iterates through a number of set url:s (array with url:s) to see if they are redirected or not. How could this be done?

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about function