test.php 493 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /*
  3. *
  4. * Application Name: PHP Custom Content Uploader
  5. * Module Name: test.php
  6. *
  7. * Copyright (c) 2020 DBMXPCA Technologies. All rights reserved.
  8. * https://www.dbmxpca.com/
  9. *
  10. */
  11. require_once($_SERVER['DOCUMENT_ROOT'] . "/core.php");
  12. // Get user information from user-db.
  13. $users = GET_JSON_DATA_FROM_FILE(USERS_JSON);
  14. echo "Key: " . $users["john_smith"]["key"];
  15. echo "<br>";
  16. echo "Enabled: " . $users["john_smith"]["enabled"];
  17. //print_r($users);