Is there a way to differentiate pages based on extension within static ouput like:
1. pages ending with .cgi (user.cgi, page.cgi, search.cgi.. etc)
2. pages ending with .php (.php is build extension)
I am wanting to use include function, however can't really use same include function on both .php and cgi pages. So if there is some option where I can use conditions like:
if cgipages
...use content one
elsif
... use content two
Thanks.
Vishal
-------------------------------------------------------
1. pages ending with .cgi (user.cgi, page.cgi, search.cgi.. etc)
2. pages ending with .php (.php is build extension)
I am wanting to use include function, however can't really use same include function on both .php and cgi pages. So if there is some option where I can use conditions like:
if cgipages
...use content one
elsif
... use content two
Thanks.
Vishal
-------------------------------------------------------