Does anyone know of a way to validate $url to make sure that it is in fact a URL? (with no dangerous code in it that could effect the system)