I am trying to pass a value for the page/section that I am viewing to a hit counter.
I currently navigate the site by using a switch/case statement to include the required additional code for that pages content. So this causes the counter to think I asked for index.php on every call.
So I need a way to get the variable that requested the displayed page.
example:
www.somedomain.com/?control=home
www.somedomain.com/?control=downloads
www.somedomain.com/?control=forum
the hit counter you return index.php for all of the above
I want it to return
index.php?control=home,
or index.php?control=downloads,
or index.php?control=forum
Thnx in advance!