Hello,
is there a Replacement Tag for Referrer URL & Current URL?
Referrer URL & Current URL
Hello osinski,
Referer:
and current URL: {SITE}
Jürgen
Referer:
Code: Select all
[PHP]
echo $_SERVER[HTTP_REFERER];
[/PHP]
Jürgen
- Oliver Georgi
- Site Admin
- Posts: 9907
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
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
or you can also create a custom replacement tag for this in frontend_render.
Referer is correct. But often this value is empty.
Oliver
{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]
Referer is correct. But often this value is empty.
Oliver