I want to include header.php file into another php file. i don't want to using php include() function in fuelphp. can i using another fuelphp function for including header.php?
I need to know more about what you want to do, where you want to do it, and what this file contains.
The name "header.php" suggests it has something to do with HTML output, which means it should be a view. And if you are asking how you can construct a page from different views, read the general section on Views in the docs, it has an example. And you can also use the Theme class, which can automate some of it for you, and supports multiple themes.
i want separate header and footer page from template. And then, i want to include that separated header and footer file into template like the following.
All output in FuelPHP is generated through View objects, which in turn use view files, which could be plain php or use a template engine like Smarty or Twig.