Apologies if this is covered elsewhere - I have had a good hunt but couldn't find anything. Could seriosuly use some advice from those who know please?
I'm building a site with multiple sub folders of pages, using includes commands - how do you code the include command so as to avoid having to upload each include file to each seperate local folder?
I've tried
<?php include("/includes-files/logo.txt"); ?>
<?php include("http://www.sitename.com/includes-files/logo.txt"); ?> but to make the include .txt file show at all I have to upload the required .txt files to every single folder and sub folder.
Am I being terribly dim (more than likely) but there must be a way to upload one set of include files to root and have them called however much you drill down into sub folders, surely. Otherwise, I'm in for a heck of an update stretch each time I need to change an include!
Regards
Rufus


) but there must be a way to upload one set of include files to root and have them called however much you drill down into sub folders, surely. Otherwise, I'm in for a heck of an update stretch each time I need to change an include!






Bookmarks