I currently have banner ads inserted at the top of my forum (in the navbar template). I'm writing a script to record each and every pageview, including which page was viewed. However, I don't know which variable holds the current page's name. When I use THIS_PAGE or $_SERVER[SCRIPT_NAME], I get generic template names such as member, showthread, forumdisplay, etc.
I am currently using VBSEO and would like the actual name of the page the visitor is viewing, as shown in the URL bar. What variable holds this page name?
Thank you.


LinkBack URL
About LinkBacks





Reply With Quote