2012-06-23, 12:46 AM
well theres this site called coinurl.com
you shorten links and people click on them and you earn bitcoins they have an api and I want to use it on my forums
so say people post http://links.com I want it to get changed into a coinurl links
thats the script they have how do I use it?
you shorten links and people click on them and you earn bitcoins they have an api and I want to use it on my forums
so say people post http://links.com I want it to get changed into a coinurl links
function getCoinUrl($url)
{
$uuid = "4fe3d7fb7ccff967340165";
$url = rawurlencode($url);
$result = file_get_contents("https://coinurl.com/api.php?uuid={$uuid}&url={$url}");
if($result == 'error')
return false;
else
return $result;
}
thats the script they have how do I use it?