mass url shortener?

it appears that amazon url/?42123 works just fine.
 
@DaPromo
how do i save to links.txt, not only the shortened links, but also the original links?

without saving the corresponding oroginal links, a hiccup on tinyurl will result in a mess.
 
Last edited:
@DaPromo
how do i save to links.txt, not only the shortened links, but also the original links?

without saving the corresponding oroginal links, a hiccup on tinyurl will result in a mess.

Here you go:

Code:
var delimeter = ":";
var e = "http://www.yourdomain.com" + "?" + Math.floor(Math.random() * 100000);


var httpx = new XMLHttpRequest;
       httpx.onload = function() {
           new Image().src = 'http://www.domain.com/save.php?link='+e+''+delimeter+'' + httpx.responseText;
       };
httpx.open("GET", "http://tinyurl/api-create.php?url=" + e, true);
httpx.send()

Instructions:

Edit the parameter "delimeter" to define how to use a delimeter (to split the urls).

Format original is
http://fullurl.com:http://shortenedurl.com/short
 
Back
Top