Actually I tried to change document root in php?
$_SERVER['DOCUMENT_ROOT'] = "C:/Users/admin/Desktop/Infogreen/";
The above code is working. But when i am trying to copy from variable is not working. I can't find the mistake.
$_SERVER['DOCUMENT_ROOT'] = $_GET[path];
Please help to solve this problem.