Liam
07-24-2009, 02:14 AM
I'd recommend that URLs be run through TinyURL in addition to a direct link.
I hacked this together in 15 minutes as a proof of concept, but I really have no idea what I'm doing.. :) It works pretty well!
use LWP::Simple;
$tinyurl = "http://tinyurl.com/api-create.php?url=". $hotlinknormal;
$shorturl = get($tinyurl);
Thanks,
Liam
I hacked this together in 15 minutes as a proof of concept, but I really have no idea what I'm doing.. :) It works pretty well!
use LWP::Simple;
$tinyurl = "http://tinyurl.com/api-create.php?url=". $hotlinknormal;
$shorturl = get($tinyurl);
Thanks,
Liam