-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsave_success.php
More file actions
29 lines (28 loc) · 854 Bytes
/
save_success.php
File metadata and controls
29 lines (28 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>
<head>
<title>Se guardo con exito</title>
</head>
<body>
<p>El documento se almaceno con exito</p>
<p>Documento guardado:</p>
<p><?= $nombre ?></p>
<img src="data:image/<?= $extension ?>;base64,<?= base64_encode($archivo) ?>">
<h2>Resto de la base almacenada</h2>
<p>Aca se recuperan todos los registros guardados</p>
<table>
<thead>
<th>Nombre</th>
<th>Archivo</th>
</thead>
<tbody>
<?php foreach ($registros as $row) : ?>
<tr>
<td><?= $row['nombre'] ?>.<?= $row['extension'] ?></td>
<td><img src="data:image/<?= $extension ?>;base64,<?= base64_encode($row['archivo']) ?>"></td>
</tr>
<?php endforeach ; ?>
</tbody>
</table>
</body>
</html>