LJ::check_referer — Checks if the user is coming from a given URI.
uri. string; the URI we want the user to come from.
referer. string; the location the user is posting from. If not supplied, will be retrieved with BML::get_client_header. In general, you don't want to pass this yourself unless you already have it or know we can't get it from BML.