تولید خودکار لینک کوتاه برای URLهای شما


کد PHP:


function getTinyUrl($url) {
    return 
file_get_contents('http://tinyurl.com/api-create.php?url=' $url);