LJ::check_referer — Checks if the user is coming from a given URI.
LJ::check_referer
(uri, referer);
uri. string; the URI we want the user to come from
referer. string; the location the user is posting from. if not supplied,
cgi-bin/weblib.pl
1 if they're coming from that URI, else undef