Posted By

dmarten on 03/22/07


Tagged

php include path relative absolute inc


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

luman
basicmagic
vali29
skywalker
JimiJay
silentbob84


php absolute path include


 / Published in: PHP
 

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

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: webmasteroy on August 7, 2007

All it does on my server is echo out the contents of the file to the web browser.

You need to login to post a comment.