Skip to content

PHP preg_match and boolean logic

Вот она, рыба моей мечты, вот она !!!

if($_SERVER['REQUEST_URI'] != '/actions' && $_SERVER['REQUEST_URI'] != '/' && !preg_match('/\/users\/[a-z].*/', $_SERVER['REQUEST_URI'] ))

Leave a Reply

Your email address will not be published. Required fields are marked *

π