Gossamer Forum
Quote Reply
Displaying HTTP_REFERER
If I wanted to store the HTTP_REFERER url in a plugin so I can call this up on a page, is this just a simple case of using:

$RF=$ENV{'HTTP_REFERER'};

then perhaps:

<%RF%>

or is this more complicated than this?

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] Displaying HTTP_REFERER In reply to
Yes it is that simple.

You can just use a global:
sub {
return $ENV{'HTTP_REFERER'};
}

and then use <%nameofglobal%>
Quote Reply
Re: [afinlr] Displaying HTTP_REFERER In reply to
Thanks,

I have this as a global but am also integrating this into an existing plugin.

All good fun.

Cheers.

--------------------------------
Privacy Software