Forum Moderators: coopster
http://example.com/~r/Jordanisyourhomeboy/~3/144521539/
Is there a function in php (I'm using PHP 4) that will find out what that URL redirects to, and return the actual URL of the post instead of the feedburner URL?
[edited by: JMusic at 1:54 am (utc) on Aug. 18, 2007]
[edited by: dreamcatcher at 5:54 am (utc) on Aug. 18, 2007]
[edit reason] no urls as per T.O.S [webmasterworld.com].Thanks [/edit]
However you can write your own using the low-level fsockopen function. [us3.php.net...]
The first example on that page shows the basic use. If you use HEAD instead of GET, then the response will just be the HTTP headers rather than the headers plus the page (saving bandwidth, and possibly (probably?) cpu usage on the remote server). Once you have the headers you can make sure it's a 30x response and then look at the Location header.