Hi, so as some of you will know i have a file upload site that outputs bit.ly links.

Code:
$contents = file_get_contents("http://api.bit.ly/v3/shorten?login=andre1990&apiKey=R_56a95c84d089129012516e24806c3649&longUrl=".urlencode($final)."&format=txt");
echoing it out as:

<input type="text" size="10" onClick=select() value="<?php echo $contents;?>" READONLY><p />

Now i want to use goo.gl instead now, any help? Ive got an api key.