[thelist] PHP question

James Spahr james at designframe.com
Tue Jul 18 14:53:00 CDT 2000


Getting my feet wet with PHP. How can I do this:

<?php

$Df_siteRoot = "/home/sites/site2/web/";

include ( $Df_siteRoot + "includes/DfPhpLib.inc");
include ( $Df_siteRoot + "includes/pageHeader.inc");

?>

I basically want to abstract the full path I need to use for includes,
because it will change when I start staging the files ...

James.






More information about the thelist mailing list