php absolute path include

<?php include ($_SERVER['DOCUMENT_ROOT'] . '/inc/file.php');?>

source

Leave a Reply