How To Include a PHP File Site-wide Using .HTACCESS or other methods

MawBrallalm

New Member
I want to include my PHP file \[code\]googleanayltics.php\[/code\] on every page on my webserver that is a .php or .html documentI would like to know:A) How do I add this right BEFORE the \[code\]</head>\[/code\] tag
B) How do I add right right AFTER the \[code\]<body>\[/code\] tagI'd like to know both methods for flexibilityI think .HTACCESS could accomplish this easily, and if you know how, or if you know of any easier method then please do share.P.S. I do not want to manually go in and enter a code on every file, that is why I am asking this question (for time saving)
 
Back
Top