Capture a redirect URL using PHP

Posted by Keyslinger on Stack Overflow See other posts from Stack Overflow or by Keyslinger
Published on 2010-06-08T14:42:55Z Indexed on 2010/06/08 14:52 UTC
Read the original article Hit count: 222

Filed under:
|

I want to use PHP to get the URL of the page to which the following address redirects:

http://peacecorpsjournals.com/journal/6731

The script should return the following URL to which the URL above redirects:

http://ghanakimsuri.blogspot.com/

© Stack Overflow or respective owner

Related posts about php

Related posts about redirect