in reply to GET and POST HTTP_REFERER protected form?

As a side note, as well as that method, you can also use:
$req->referer('http://www.yahoo.com');