Answers for "include for another folder php in php"

PHP
1

include a page from another directory php

<?php
include($_SERVER['DOCUMENT_ROOT'].'/any/other/directorys.php');
?>
  
 // [document_root] is your root direcroty, example: public_html/any/other/directorys.php
Posted by: Guest on September-02-2021

Browse Popular Code Answers by Language