referrer()
| Returns: | Detected referrer or an empty string |
|---|---|
| Return type: | string |
The referrer, if the user agent was referred from another site. Typically you’ll test for this as follows:
if ($this->agent->is_referral())
{
echo $this->agent->referrer();
}
Please login to continue.