url shortener function

<?php
function url_shortener($url){
//url shortener from metiny.com
//this function can take any url and shorten it
$metiny_url="http://metiny.com/api.php?make_metiny=$url";//metiny.com api url
$file = file_get_contents($metiny_url);
echo $file;}
url_shortener('PUT-URL-HERE');//url shortener function
?>

0 Comments

You must be logged in to post a comment.