include a page from another directory php

Solutions on MaxInterview for include a page from another directory php by the best coders in the world

showing results for - "include a page from another directory php"
Liam
31 Jan 2018
1<?php
2include($_SERVER['DOCUMENT_ROOT'].'/any/other/directorys.php');
3?>
4  
5 // [document_root] is your root direcroty, example: public_html/any/other/directorys.php