From 10f335781e144a3b06de1968e78af198ed441eec Mon Sep 17 00:00:00 2001 From: Simonarde Lima Date: Wed, 18 Oct 2017 19:25:22 -0200 Subject: [PATCH] =?UTF-8?q?resolu=C3=A7=C3=A3o=20do=20mapa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- atualizar_imagem.php | 26 ++++++++++++++++++++++++-- index.php | 3 +++ mostrar.php | 22 +++++++++++++++++++++- 3 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 index.php diff --git a/atualizar_imagem.php b/atualizar_imagem.php index 8ca17da..13d79f9 100644 --- a/atualizar_imagem.php +++ b/atualizar_imagem.php @@ -1,6 +1,28 @@ Erro: O tamanho da imagem precisa ser 800x600'; + } + } + else { + echo '

Erro: A extensão da imagem precisa ser .jpg

'; + } + } } ?> @@ -8,7 +30,7 @@ Atualizar Imagem -
+ Enviar nova imagem para atualizar (Tamanho válido 800x600):
diff --git a/index.php b/index.php new file mode 100644 index 0000000..ca93147 --- /dev/null +++ b/index.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/mostrar.php b/mostrar.php index a1be6fd..b320379 100644 --- a/mostrar.php +++ b/mostrar.php @@ -1,9 +1,22 @@ + @@ -11,10 +24,17 @@ - + + + + + + \ No newline at end of file