Is there any way to achieve the master page concept of ASP.NET in PHP?
You can use auto_prepend_file and auto_append_file together with output buffering.