Hi, I've set the following: $nscfg['url'] ='http://www.domain.com/'; $nscfg['secure_url'] ='https://domain.com/'; $nscfg['site root'] = '/Users/username/public_html/'; $nscfg['base'] = 'http://www.domain.com/';
// For use in the HTML documents define ("URL", $nscfg['url']); // where to find Articles define ("ARTICLES",$nscfg['url']."articles/"); // where to find Books define ("BOOKS", $nscfg['url']."books/"); // where to find Resume define ("CV", $nscfg['base']."cv/"); // where to find the various types of PHP includes ie sidebars define ("INCLUDES", $nscfg['site root']."docs/"); And things like this:
<a class='credits-link' href='<?php echo URL ?>forms/mailform.htm' title="Email Me"
target='_blank'>click</a>
work great.
What am I doing wrong when I try to make this:
<?php include_once INCLUDES."include.php"; ?>
work?
Thanks in advance! Jack
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php