[pmwiki-users] Return to last page...
Patrick R. Michaud
pmichaud at pobox.com
Wed Mar 28 09:40:52 CDT 2007
On Wed, Mar 28, 2007 at 10:22:44AM -0400, The Editor wrote:
> Is there an easy way to somehow get a browser to return to the last
> page it was viewing without using javascript? Such as a markup that
> could produce a link, or a php function I could build into ZAP or
> whatever?
Do you want "last page that was viewed" or "page that referred the browser
to this one?"
If the latter, then perhaps:
$FmtPV['$Referrer'] = "'{$_SERVER['HTTP_REFERER']}'";
The use of a single 'R' in HTTP_REFERER is deliberate (the specification
and protocol actually have it misspelled).
Pm
More information about the pmwiki-users
mailing list