commit 3d3deab98fea79aad3f864a5c906730b75a19ec5 Author: unknown Date: Wed Sep 18 16:27:17 2024 +0200 first commit diff --git a/earth1.webp b/earth1.webp new file mode 100644 index 0000000..155e695 Binary files /dev/null and b/earth1.webp differ diff --git a/earth2.jfif b/earth2.jfif new file mode 100644 index 0000000..0151328 Binary files /dev/null and b/earth2.jfif differ diff --git a/earth3.jpg b/earth3.jpg new file mode 100644 index 0000000..1f03449 Binary files /dev/null and b/earth3.jpg differ diff --git a/hello.php b/hello.php new file mode 100644 index 0000000..29fa003 --- /dev/null +++ b/hello.php @@ -0,0 +1,5 @@ +Ahoj světe!"; + + diff --git a/index.php b/index.php new file mode 100644 index 0000000..56a8889 --- /dev/null +++ b/index.php @@ -0,0 +1,36 @@ + + + + + + Ahoj světe! + + + +"; +$random_index = random_int(0, 2); + +$images = [ + "earth1.webp", + "earth2.jfif", + "earth3.jpg", +]; + +// var_dump($images); + +$random_image = $images[$random_index]; + +?> + +Earth image + + + +