![]() |
HOW DO I: test if file exists in a template?
I'm just a novice coder and I can't seem to find an answer to this in Google or any of the XHTML sites, so please help.
Is there some bit of code that I could include in a vB3 template that would test if some particular file exists. Something like this: Code:
<If exist ("/path/to/foo.txt")> Thanks! |
I would check in the phpinclude_start template, and set a variable.
Then, check that variable in whatever template you like with <if condition="$var == 1">//foo</if> |
All times are GMT. The time now is 02:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|