SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Regex Help
-
May 13, 2003, 15:47 #1
- Join Date
- Feb 2003
- Location
- Vegas Baby
- Posts
- 11
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Regex Help
I'm developing an Authorization system and I'm stuck on the regex part of it.
I have a file containing all of the places that a person is allowed to go:
PHP Code:global $roles;
$roles['god'] = array(
'paths' => array(
"/",
"/index/helloworld/"
)
);
PHP Code:foreach ($roles['god']['paths'] as $path) {
/* compare uri to the path */
}
Thanks in advance for any help.
-
May 14, 2003, 05:10 #2
- Join Date
- Oct 2002
- Location
- Iceland
- Posts
- 1,238
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
can you give example uri's ?
- website
Bookmarks