helloworld

This commit is contained in:
GZod01 2024-07-30 13:30:49 +02:00
parent 0325c06d80
commit 0594f17c9e
41 changed files with 2424 additions and 1653 deletions

View file

@ -1,5 +1,5 @@
<?php
$lastdate = strtotime("2024-05-28 23:00:00");
$lastdate = strtotime("2024-07-05 23:00:00");
$v = json_decode(file_get_contents("https://api.werobot.fr/post"),true);
$nv = array_filter($v["data"]["posts"], function($a){global $lastdate;$res = strtotime($a["created_at"])>$lastdate; return $res;});
foreach($nv as $p){