Welcome, Guest
Username:
Password:
Remember me
PHP forum, your PHP coding community
  • Page:
  • 1

How to find the root path of the site?

How to find the root path of the site? [ 1 year 6 months ago ] #7

<?php
echo $_SERVER['DOCUMENT_ROOT']
?>

Please Log in to join the conversation.

Alex experienced Freelance Web Developer with a demonstrated history of working in the information technology and services industry. Skilled in User Experience, Joomla, WordPress, User Interface Design, Front-end Development, and IT Service.
  • Page:
  • 1