The only problem is that im including it into an html file using SSI, which means i can not use php there...
The only problem is that im including it into an html file using SSI, which means i can not use php there...
Is there a reason you can't use PHP instead of SSI?
I don't really have a suggestion that will work without testing a few things. Try looking at get_included_files() and $_SERVER to find some bit of info that tells you which page you're on.
Can SSI use get variables? mypage.php?short
Thenif (isset($_GET['short'])) ......