I had been to that page, tried this:
if (stripos(strrev($file), "gpj.") === 0) || (stripos(strrev($file), "fig.") === 0) || (stripos(strrev($file), "gnp.") === 0) { (yes, Jochem, the regExp solution is best, but I am practicing things ;-)

and got
Parse error: syntax error, unexpected T_BOOLEAN_OR in...

You want &&

http://www.php.net/manual/en/language.operators.logical.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to