Open GoogleCodeExporter opened 9 years ago
updated
if (substr($url_long,0,4) !== "http"
{
preg_match("/^(http:\/\/)?([^\/]+)/i", $shortURL, $matches);
$host = $matches[2];
$url_long="http://".$host."/".$url_long;
}
Original comment by felixonm...@gmail.com
on 29 Dec 2009 at 6:36
Original issue reported on code.google.com by
felixonm...@gmail.com
on 29 Dec 2009 at 3:51