I am writing a PHP script in which I would like to set up a flag that can be triggered by the existence of a particular folder in a directory. Currently, I am accomplishing this by using a true/false variable, but I'm pretty sure that this isn't the most efficient way of going about this. Does anyone know a more proper syntax for creating a flag? Thanks.