PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
OK this is a little confusing but bear with me:
Let me show the code then explain:
in this I want the * to be anything. This script takes teh URL's variable (L) and decides weather to echo the admin sidebar. I want the following to be acceptable for showing the Admin sidebar:
?l=admin
?l=admin/errorlogs
?l=admin/user
although I do not want to list these manually so I want
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
the code I posted was a dumbed-down version of the real thing. All the actual concent of the menu is only accessed by authentification... dont worry I am not that dum