Well you basically have
Where XXX is something like:
Code:
$post['signature'] == 'Value'
or such.
You just need to add additional statements with AND or OR depending on what you want.
Use parentheses to keep the logic correct/easy to follow
Code:
condition="(XXX) OR ((YYY) AND (ZZZ))"
For example... if XXX is true OR if YYY and ZZZ are true regardless of the value of XXX.