Instead of:
$extensions="123,456";You might want to try:
$extensions = "(?:123|456)";Note that the ?: in the beginning of the parens makes this a non-capturing match.
PS: For more information about regular expressions, see perlre
In reply to Re: File extension match
by revdiablo
in thread File extension match
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |