6 lines
211 B
PHP
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)]);
|
|
} |