I have written config.php
, head.php
in my public_html
, now i need them in the new folder (public_html/test/gallery
) where test is a sub-domain using require
and include
respectively.
<?php
require_once"../config.php";
require_once"../func.php";
include_once"../head.php";
echo "are u mad";
?>
It keeps returning a blank page. How do I do that?