Joywork/ajax/getFieldTranslit.php
2026-05-22 21:21:54 +03:00

6 lines
211 B
PHP

<?php
require_once($_SERVER['DOCUMENT_ROOT']."/config.php");
if (isset($_POST['title'])) {
$post = clearInputData($_POST);
echo json_encode(['result' => Docs::stringToTranslit($post['title'], 32)]);
}