There are 2 scenarios here:
1. To include a PHP file inside hosting space:
eg:
Document root: /home/user/public_html/
Index page: /home/user/public_html/index.php
header to be included: /home/user/public_html/include/header.php
Here y...
Both including a PHP file and the ability to include a PHP file could have very high security risks for your site and the entire server. A hacker who gains access to your account through improper coding is going to have a much easier time executing code o...