The value of $myFile will be different compared to params coming from
the query part used why flashing index.php
I'm not sure exactly what you're saying, but this shouldn't matter either. Just assign all the values you need (or may need) and you're done. If they're not assigned in the current template, that's still ok, unless you have strict error reporting the value will just be null.
I think you could also just:
smary->assign('globals', $GLOBALS);
Then in your template:
{$globals.value}
e.g. index.php?f=first will include first.inc
index.php?f=second will include second.inc
Make sure you check input.
Vonleigh Simmons [vanlei]
San Francisco, CA
<www.illusionart.com/pi/>