Web Site Creator Web Hosting Help
   Including files


How to include files using PHP
<?php

//Include a file in the same directory
include("file.php");

//Include a file in a sub directory
include("/folder/file.php");

//Include a file in a directory above the current directory
include("../folder/file.php");

?>


Sign Up Now! Overview

Questions? Call sales at
1 (425) 274-4500
Or try our
Visit our Help Center where you can get simple and quick product support.
   is an affiliate of   , a leading domain name services company.
Copyright © 1998-2018 Enom LLC. All rights reserved. Terms & Conditions | Privacy Policy | Abuse Policy