Jump to content

jayjaz

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by jayjaz

  1. 1. How would we check if a user has a correct permission level to access a section of a page that has a privilege level like (1=Add,2=Move,4=Edit,8=Delete) assigned to various protected sections? 2. What is this type of permissions assignment known as and what group of functions do we use to manipulate these permissions? 3. If my user (in line with the previous example) had a privilege level of 14, which of the privileges would they have access to and how would I check this (give example code)?
  2. What specific problem could we encounter with the last few elseif’s if we have a large if/elseif block where a single variable is being checked against multiple different values and what would be a better solution to using the if/elseif block?
  3. What could be a potential problem with contact forms that are only protected against SQL injections and have an admin side view for the enquiry ?
  4. How would you rewrite URL2 to URL1 (give example rewrite rule). a. URL1 http://www.foo.com/index.php?id=1&cat=5&name=foo&test=BAR5 b. URL2 http://www.foo.com/foo/BAR5/1/5/
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.