Inspired by the simple tweet to twitter function by Fabian Potencier I have built a stupidly simple url shorter for bit.ly. Something you are probably going to want to do if you are sending tweets via PHP.
function shorten($url, $login, $apikey)
{
$api_url = “http://api.bit.ly/shorten?version=2.0.1&
[...]
Category Archives: tech
Simple shorten url using bit.ly and php
November 23, 2009 – 3:10 pm
Slave out of sync with your master?
November 17, 2009 – 1:58 pm
Hello, I am not growing a Mo. So I have to blog about something technical…
One of our major clients has a Master-Replication setup which we use for failover and backups. However it managed to get itself out of sync. A small example is that it the user table is missing a single user. The database [...]