I tried to insert a new plugin in the "global_start"-hook-location in vBulletin and inserted the following code:
This works fine if I am opening the forum startpage in my browser - I can see the current url displayed as first line of my website.PHP Code:echo $_SERVER['REQUEST_URI'];
But if I am trying to get the $_SERVER['REQUEST_URI'] value on forumdisplay-pages or member-pages, the whole $_SERVER-array seems to be empty. I guess that this is an vBSEO-issue because the problems appears on all pages that have a "virtual" subfolder (/memberlist, /members, /forumname etc).
Can you tell me how I can get the current url or other values from PHP's $_SERVER-array on these pages? I also tried to use PHP's getenv()-function but this also returns empty strings.


LinkBack URL
About LinkBacks





Reply With Quote