public static function prefaceURLwithHTTP($url) {
        $url = trim($url);

        if (substr($url, 0, 7 ) == "http://") {
            return $url;
        }

        if (substr($url, 0, 8 ) == "https://") {
            return $url;
        }

        return "http://".$url;
    }