I am confused with two terms
header (\"Location:homepage_php\");
include(\"homepage.php\");
I am g
The header function is used to send raw HTTP headers back to the client: PHP header function
The above (taken from the PHP documentation) sends a 404 header back to the client.
The include function is used to include files into the current PHP script (the same as require) PHP include function
vars.php
test.php
This example (again from the PHP documentation) includes the vars.php script in the test.php script and, after the include, allows the test.php script to access the variables declared in the vars.php script.