[thelist] re: PHP, include() and relative links

Cayley Vos cvos at netpaths.net
Fri May 25 14:05:24 CDT 2001


another option that gives more flexibility:

<?
$base_dir = "/www/htdocs/";
$inc_dir = $base_dir . "/site-lib";
$doc_dir = "/www/htdocs/mysite";
?>

<?
require $inc_dir . "/header.inc";

?>


Cayley Vos, Principal

360.714.8395 office
360.223.7799 cell

http://NetPaths.net
_______________________________
web design  |  e-commerce  |  i-marketing






More information about the thelist mailing list