[thelist] PHP Includes not including
Rich Points
rich at richpoints.com
Tue Jan 4 21:06:13 CST 2005
I think it's working because I get the following message
*Warning*: main(inserts/header.php): failed to open stream: No such file
or directory in
*/opt2/home3/rd6714/public_html/articles_2005/1_subhead.php* on line *13
*
Jonathan T. Sage wrote:
><?php include("./inserts/header.php"); ?> should be correct. Is the
>file processing at all? Look at the source and make sure the php code
>isn't still there after download.
>
>
>On Tue, 04 Jan 2005 19:13:32 -0700, Rich Points <rich at richpoints.com> wrote:
>
>
>>Howdy,
>>I'm trying to use PHP includes for common elements like a header and
>>footer throughout a site and I'm having trouble. I've used PHP Includes
>>on other sites and they have worked fine, as far as I can tell I'm
>>duplicating the syntax but no cigar. The code I'm using is to call the
>>insert is as follows
>>
>><?php include("inserts/header.php"); ?>
>>
>>I've also tried
>>
>><?php include("/inserts/header.php"); ?>
>><?php include "/inserts/header.php"; ?>
>><?php include("full_absolute_path/inserts/header.php"); ?>
>><?php include("/full_absolute_path/inserts/header.php"); ?>
>>
>>I contacted my host and asked them if they know what's going and they
>>said it's beyond the scope of their tech support.
>>Here is my development page
>>http://reclaimdemocracy.org/articles_2005/1_subhead.php
>>
>>Anybody out there know whats going on with this?
>>
>>Thanks
>>Rich
>>
>>--
>>
>>* * Please support the community that supports you. * *
>>http://evolt.org/help_support_evolt/
>>
>>For unsubscribe and other options, including the Tip Harvester
>>and archives of thelist go to: http://lists.evolt.org
>>Workers of the Web, evolt !
>>
>>
>>
>
>
>
>
More information about the thelist
mailing list