Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 6 години
преди 6 години
преди 6 години
1234567891011121314151617181920
  1. <?php
  2. require_once('../includes/config.php');
  3. if(isset($_POST))
  4. {
  5. if ($logged_in)
  6. {
  7. $user_id = rawurldecode($_POST['id']);
  8. $role_id = rawurldecode($_POST['role']);
  9. $userTools->insertUserRoles($user_id, array($role_id));
  10. }
  11. else
  12. {
  13. echo "You need to be logged in";
  14. }
  15. }
  16. else
  17. {
  18. echo "POST not set";
  19. }
  20. ?>