Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Display Header On Php Htaccess
07-20-2008, 01:39 AM #1
- Join Date
- Jul 2008
- Thanked 0 Times in 0 Posts
Display Header On Php Htaccess
I need some help making the header to work on .php files.
The header is working perfectly on .html files, but not on .php files.
As you can see here is the .html file (http://suprt.snoork.net/index.html) and you can see that it shows on top "This Is My Header".
But as you can see here in the .php file (http://suprt.snoork.net/index.php) you cannot see the "This Is My Header".
Here is my .htaccess file.
AddHandler headered .htm
AddHandler headered .html
Action headered /header/header.php
<?php $header = "header.html"; $file = $_SERVER["PATH_TRANSLATED"]; readfile($header); readfile($file); ?>