knuthollund@quitter.no GitHub: => https://github.com/fxdwg */ $query = $_SERVER['QUERY_STRING']; if(strlen($query)>0) { $shortenerUrl = 'http://qttr.at/yourls-api.php?' . $query; print file_get_contents($shortenerUrl); } ?>