diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0f39774 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM php:8.2-apache +LABEL authors="matthieulmr" + +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/Index.php b/Index.php new file mode 100644 index 0000000..c26da05 --- /dev/null +++ b/Index.php @@ -0,0 +1,57 @@ + + + + Ma super bibliothèque + + + + + + + + + + + + +
+

Bibliothèque

+ +
+ + +
+ +
+ + + + + + + + \ No newline at end of file diff --git a/PDO.php b/PDO.php new file mode 100644 index 0000000..cbfc925 --- /dev/null +++ b/PDO.php @@ -0,0 +1,17 @@ +console.log('Error PDD : " . $e->getMessage() , "');"; +} +