• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Is it possible to do with .htaccess

lets say i have mydomain.com/something/index.php
And i want that when people open this site, in my server it runs something.php, but do not show to visitor.
What i want that i set to whole dir or even to whole domain, to track IP's who visited and so on.
Right now it is not possible to add in every php file "include ('something.php');".
Is that possible to do with htaccess ?
1 Solution
php_value auto_prepend_file /path/to/file/php_pre.inc

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now