Trace redirect loop

Posted by Michel Krämer on Stack Overflow See other posts from Stack Overflow or by Michel Krämer
Published on 2010-04-11T16:01:57Z Indexed on 2010/04/11 16:13 UTC
Read the original article Hit count: 508

Filed under:
|
|

I have a large PHP application. After I changed some settings I get a redirection loop (i.e. the browser is redirected to the same page over and over again).

The problem is that I don't know which command (which line in which PHP file) in this application causes the redirect. Is there a way to trace calls to the header() function? Or - even better - is there a way to trace redirects in PHP?

Thanks in advance,
Michel

© Stack Overflow or respective owner

Related posts about php

Related posts about http