| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- /*
- *
- * Application Name: PHP Custom Content Uploader
- * Module Name: upload.php
- *
- * Copyright (c) 2020 DBMXPCA Technologies. All rights reserved.
- * https://www.dbmxpca.com/
- *
- */
- require_once($_SERVER['DOCUMENT_ROOT'] . "/core.php");
- /*
- *
- * This script is designed to be called with the following parameters:
- *
- * Parameter Description
- * -----------------------------------------------------------------
- * u Username, corresponding to the user's name in the "users.json" file. Value may not be empty. Case-sensitive.
- * k API Key, corresponding to the user's "key" value in the "users.json" file. Value may not be empty. Not case-sensitive by default but can be changed in "config.php".
- *
- */
- $err = null;
- if (CHECK_USER($err)){
-
- echo "ok";
- }
- else{
-
- DIE_ERR($err);
- }
|