How To Display Document Root Path In Php
- Forums
- PHP
- How To Display Document Root Path In Php
This Page Contains information about How To Display Document Root Path In Php By wallpaperama in category PHP with 1 Replies. [1224], Last Updated: Tue Feb 07, 2023
wallpaperama
Sun Dec 14, 2008
1 Comments
3011 Visits
if you want to show or just want to know what is the path of your website in php, you can use $_SERVER['DOCUMENT_ROOT']
try it
echo $_SERVER['DOCUMENT_ROOT'];