Hi there. Here's my problem. I'm using a fusebox like architeture in my site, which means that all templates are included in the index.php using a simple switch.
Well, problem is that I've created a function to log user events and one of the parameters is $PHP_SELF, so I could know which page the user has acessed. Well, since index.php has something like this:
<?include("my_page.php")?>
and my_page.php
has createLog($PHP_SELF)
When I check the log table, all entries have index.php instead of my_page.php.
Any ideas?
thnx