$url = 'http://' . $url if(substr($url, 0, 7) ne 'http://' && substr($url, 0, 8) ne 'https://');