Welcome Guest, Not a member yet? Register   Sign In
Resolvoing Shortened URL
#1

[eluser]jmanpa[/eluser]
What approach might be best, using CI libraries or not, to take a url, say "http://bit.ly/somestuff" and somehow resolve and return the real url underneath. Assume the shortening service could be any, not just bit.ly.

Not knowing beforehand whether the url is shortened or not, the approach should not blow up if the source url was never shortened in the first place and is a valid url.

Thanks,
John


Messages In This Thread
Resolvoing Shortened URL - by El Forum - 07-14-2010, 11:27 AM
Resolvoing Shortened URL - by El Forum - 07-14-2010, 12:16 PM
Resolvoing Shortened URL - by El Forum - 07-14-2010, 12:23 PM
Resolvoing Shortened URL - by El Forum - 07-14-2010, 12:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB