Joywork/ajax/getFieldTranslit.php

6 lines
211 B
PHP
Raw Normal View History

2026-05-22 20:21:54 +02:00
<?php
require_once($_SERVER['DOCUMENT_ROOT']."/config.php");
if (isset($_POST['title'])) {
$post = clearInputData($_POST);
echo json_encode(['result' => Docs::stringToTranslit($post['title'], 32)]);
}