No announcement yet.

how2 call php file from header template?

  • Filter
  • Time
  • Show
Clear All
new posts

  • how2 call php file from header template?

    I have this time.php file which lists 3 different time zones and displays the time and date.

    I would like to call this file from the header template.
    I have uploaded the time.php file into my root directory where all my other VB files are.

    In my header template I have:

    <!-- World Time -->
    <? include("time.php"); ?>
    <!-- /World Time -->

    Yes it does not seem to display in the header when I refresh the BBS.

    How do I call this seperate php file so I can get it to display in my header on the bbs?

    thanks for any help.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.