»

LJ::check_referer

LJ::check_referer — Checks if the user is coming from a given URI.

Use

LJ::check_referer(uri, referer);

Arguments

  • uri. string; the URI we want the user to come from

  • referer. string; the location the user is posting from. if not supplied,

Source:

cgi-bin/weblib.pl

Returns:

1 if they're coming from that URI, else undef