bitly php url wont work???
- by mathiregister
Hi guys,
<?php
include('bitly.php');
$bitly = new bitly('myusername', 'myapikey');
print $bitly->shorten('http://www.google.com');
?>
WORKING!!!
$currenturl = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];…