From e2f913a5430475ff89ba5039e1d2b475af76f21a Mon Sep 17 00:00:00 2001 From: "fahym.bouaichi" Date: Mon, 13 Oct 2025 18:01:39 +0000 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"/"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 9 +++++++++ PDO.php | 16 +++++++++++++++ index.php | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 Dockerfile create mode 100644 PDO.php create mode 100644 index.php diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0e457b5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM php:8.2-apache +LABEL authors="Fahym" + +COPY . /var/www/html +WORKDIR /var/www/html + +RUN docker-php-ext-install pdo pdo_mysql + +EXPOSE 80 \ No newline at end of file diff --git a/PDO.php b/PDO.php new file mode 100644 index 0000000..67b50c6 --- /dev/null +++ b/PDO.php @@ -0,0 +1,16 @@ +console.log('Error PDD : " . $e->getMessage() , "');"; +} diff --git a/index.php b/index.php new file mode 100644 index 0000000..5ba8b4c --- /dev/null +++ b/index.php @@ -0,0 +1,57 @@ + + + + Ma super bibliothèque + + + + + + + + + + + + +
+

Bibliothèque

+ +
+ + +
+ +
+ + + + + + + +