Check if any item in one array is contained in any item in another array

I have an array of subscriptions/plans (access levels): define(‘PLAN_A’, 0); // 0001 define(‘PLAN_B’, 2); // 0010 define(‘PLAN_C’, 4); // 0100 define(‘PLAN_D’, 8); // 1000 …

How to open a php page which is out of /var/www/html in browsers?

There is an apache server with three directories in /var/www/: /var/www/html/ and /var/www/printer and /var/www/codes I can read all pages in /html/ via browser with no problem. But I don’t know how …