<?php
 include 'API_randtests/check_ip.php';
$euro = json_decode(file_get_contents('https://call1.tgju.org/ajax.json'), true);
$cleanNumberString = str_replace(',', '', $euro['current']['price_eur']['p']);
$number = floatval($cleanNumberString) / 10;
if('10000' >= $number){
    echo 'no';
}else{
    file_put_contents('euro',$number);
}