PHP include Template path.
If I wanted to use the PHP include function to pull up a page in a template using the TEMPLATEPATH handle how would I do it?
What I want to do is set my .htacess file so it refrences error 404 to error_404.php in my root directory. In there I would like to include something like <?php include (TEMPLATEPATH . ‘/header2.php’); ?> that just uses the 404 page for my template. Is this possible? If so, how would I do it?
Thanks for your help,
- The topic ‘PHP include Template path.’ is closed to new replies.