chuckles ,

in order to get your first idea to work, use instr() instead :

code:
$bypass = "Server1,Server2,etc"

if instr($bypass,@wksta)
quit()
endif

hth

Jochen
_________________________