include_php
| From: | David DeLassus | Date: | Tue, 29 Jan 2002 05:29:56 +0000 |
| Subject: | include_php | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2588@lists.php.net to get a copy of this message | ||
I am new to Smarty, PHP, and MySQL. I am trying to use the very basic function of include_php
file:. I have a main.htm template that I am using for my page layouts. This main.htm
template will be used in my various pages (index.php plus all the other pages I will have on my
site). Within this main.htm template, I repeatedly use the function include file to
populate the various areas of main.htm with my standard page templates such as header, logo, navbar,
and footer. For a static page, I also use an include file to add the static data for that page.
Everything works fine. When I try to use the function include_php file to include a PHP file,
I get the following type of error and I dont know what is wrong. The file I am trying to include
works just fine when I call it up individually. I just cant seem to be able to load it using the
include_php file function.
Warning: Failed opening '../../../../smarty/templates/sec_champions_plaindata.php' for
inclusion (include_path='c:\collegefootball\include_files;c:\collegefootball\php\pear') in
c:\collegefootball\data\div_ia\sec\templates_c\cf\cf659d1654df7314bfd3cf086185c874\d41d8cd98f00b204e9800998ecf8427e.php
on line 65
Could someone help me out?
David