Project import generated by Copybara.

GitOrigin-RevId: 63746295f1a5ab5a619056791995793d65529e62
diff --git a/src/dosethelpresource.php b/src/dosethelpresource.php
new file mode 100644
index 0000000..2b7295b
--- /dev/null
+++ b/src/dosethelpresource.php
@@ -0,0 +1,24 @@
+<?php
+require_once("core.php");
+security::checkType(security::ADMIN);
+
+if (!security::checkParams("POST", [
+  ["place", security::PARAM_ISINT],
+  ["url", security::PARAM_ISSET]
+])) {
+  security::go("help.php?msg=empty");
+}
+
+$status = help::set($_POST["place"], $_POST["url"]);
+switch ($status) {
+  case 0:
+  security::go("help.php?msg=success");
+  break;
+
+  case 1:
+  security::go("help.php?msg=invalidurl");
+  break;
+
+  default:
+  security::go("help.php?msg=unexpected");
+}