I am trying to access a PHP file that is located in another folder.
$path = $_SERVER['DOCUMENT_ROOT'];
echo $path;
It's displaying: /Applications/MAMP/htdocs/mysqli
I am trying to redirect to welcome_employer.php in the folder "... mysqli/employers". How can I do this?
header('Location:'.$path.'/employers/welcome_employer.php');
Thanks