Help with finding root directory

I need to find my root directory as i need to use android studio to access a Login.php file. I cant seem to find it anywhere. Please help me out!

Hi @randika171!

You can find out your root directory either by going to cPanel > locate your site > Details either by running print(getcwd());

Additionally, you can use echo $_SERVER['DOCUMENT_ROOT'] in a PHP file to get the root path of the server.

But, what do you gonna do with android studio?