Sorry for the double post, apparently I can't reply twice in a row so I am forced to start a new topic...
I am trying to include a file that is not in the same folder as the file calling it and I don't know how to get that to work.
<b>i.e.</b>
the include file is in:
<B>mysite.com/includes/includefile.php</b>
and the file calling the include is in:
<b>mysite.com/folder1/subfolder/file.php</b>
Apparently this doesn't work:
<b><?php include ('/includes/includefile.php');?> </b>
and neither does this:
<b> <?php include(./includes/includefile.php); ?></b>
I know calling the full path <b><?php include ('http://mysite.com/includes/includefile.php');?></b> does work however the variables defined in the original file don't get passed properly.
I am sure there is simple code to make this happen, unfortunately my knowledge in PHP is still pretty minimal.
Thanks for your help!