How to find my full sitepath?

How to find my full sitepath?

Having trouble finding the full path in your shared web hosting / VPS?

<?php echo $_SERVER["DOCUMENT_ROOT"];?>

PHP Manual describes it as:

The document root directory under which the current script is executing, as defined in the server’s configuration file.

 

Mike250

Australian. Sport. Passionate Cricket Fan. Go Pro. Abseiling. Snorkeling. Travel. Golf R. SQL Server Developer. Three sons. One daughter. Last Trip: New York.

Related Posts
Leave a comment

Your email address will not be published. Required fields are marked *