Profile
Achievement
Jdub7's Recent SnippetsTagged php
- All /
« Prev 1 Next »
Usage:
define('PIRATE',bindec('0001')); // 1
define('NINJA',bindec('0010')); // 2
define('JEDI',bindec('0100')); // 4
define('ADMIN',bindec('1000')); // 8
$rpermit = array(PIRATE,JEDI); // Equivilent Flags '0101'...
0
491
posted 15 years ago by Jdub7