1
0

2 Commity b08bf63404 ... b84d701ea1

Autor SHA1 Správa Dátum
  cedric b84d701ea1 create gitignore 10 mesiacov pred
  cedric d92a62fa70 add capture function 10 mesiacov pred
2 zmenil súbory, kde vykonal 37 pridanie a 2 odobranie
  1. 1 0
      .gitignore
  2. 36 2
      www/index.php

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+www/image.jpg

+ 36 - 2
www/index.php

@@ -1,5 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <title>A adinville webcam</title>
+</head>
+<body>
+
+<p>The content of the document......</p>
+
+
+<?php
+$output = shell_exec('fswebcam -r 1920x1080 --bottom-banner /var/www/my_webapp/www/image.jpg');
+echo "<pre>$output</pre>";
+?>
+ 
+
 <?php
 
-echo "Hello World! bob";
 
-?>
+
+
+echo '<img
+        class="fit-picture"
+        src="image.jpg"
+        height="600"
+        alt="Grapefruit slice atop a pile of other slices" 
+    />';
+
+
+
+?>
+
+
+</body>
+
+</html>
+
+
+