https://www.php-resource.de/forum/php-developer-forum/62180-variable-von-js-nach-php