5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-09-25 10:58:56 +02:00
jensmemes/website/randomapi.php

8 lines
148 B
PHP
Raw Normal View History

2020-07-21 23:07:16 +02:00
<?php
$files = glob("images/*/*");
$random = rand(0, count($files) - 1);
$file = $files[$random];
echo "https://jensmemes.tilera.xyz/" . $file;
?>