Page 1 of 1

Referrer URL & Current URL

Posted: Tue 29. Aug 2006, 03:32
by osinski
Hello,

is there a Replacement Tag for Referrer URL & Current URL?

Posted: Tue 29. Aug 2006, 06:06
by juergen
Hello osinski,

Referer:

Code: Select all

[PHP]
echo $_SERVER[HTTP_REFERER];
[/PHP]
and current URL: {SITE}

Jürgen

Posted: Tue 29. Aug 2006, 11:17
by Oliver Georgi
it's a bit false.

{SITE} is just a replacement tag for the base URL like http://www.phpwcms.de/forum but has no additional like /mypage.html

To have the current URL use

Code: Select all

[PHP]echo FE_CURRENT_URL[/PHP]
or you can also create a custom replacement tag for this in frontend_render.

Referer is correct. But often this value is empty.

Oliver