Revision: 26123
Updated Code
at April 18, 2010 08:45 by khaled
Updated Code
<?php function retrieve_shortened_link($shortUrl){ $headers = get_headers($shortUrl, 1); if(is_array($headers['Location'])){ return $headers['Location'][0]; }else{ return $headers['Location']; } } ?>
Revision: 26122
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 18, 2010 07:04 by khaled
Initial Code
<?php function retrieve_shortened_link($shortUrl){ $headers = get_headers($shortUrl); if(is_array($headers['Location'])){ return $headers['Location'][0]; }else{ return $headers['Location']; } } ?>
Initial URL
http://k-coder.blogspot.com/2010/04/php-function-to-retrieve-original-url.html
Initial Description
Initial Title
Retrieve The Original URL From A Shortened URL
Initial Tags
url
Initial Language
PHP