how can i excute some php codes in a document with a .shtml extension?
i tried to do this in my index.shtml page,
PHP Code:
<!--#include virtual="/includes/showinc.php" -->
and
PHP Code:
<!--#include file="includes/showinc.php" -->
but my index.shtml just shows the source of showinc.php. it's not executed.
the strange thing is that i have this
PHP Code:
<!--#include virtual="in.php" -->
near </head>, and it executes.
do shtml files only allow you to do
<!--#include virtual="whatever" --> only once?