Esse 'simples' form para upload de imagem para enviar no meu email nao está funcionando, alguem ajuda?
formualrio.php
<html> <head> <title>Enviando Um Arquivo</title> </head> <?php echo stripslashes($_GET[message])?> <p style="margin-top: 0; margin-bottom: 0"> <font face="Tahoma" style="font-size: 8pt"> <br /> </font></p> <form method="post" action="enviar_arquivo.php" enctype="multipart/form-data"> <p style="margin-top: 0; margin-bottom: 0"> <p style="margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="29pt"> </span> <span style="font-size: 8pt"><b>Arquivo</b><br /> </span> <input type="file" style="color: #000000;background: #FFC562; font-size: 8 pt; border: 1px solid #000000;name="attachment" size="20" /><span style="font-size: 8pt"><br /> </span></font></p> <p style="margin-top: 0; margin-bottom: 0"><font face="Tahoma"> <span style="font-size: 8pt"><br /> </span> <input type="submit" style="color: #000000;background: #FFC562; font-size: 8 pt; border: 1px solid #000000; value="Send the email!" value="Enviar" /><span style="font-size: 8pt"><br /><br /> </span> </form> </body> </html>
Tive qe anexar o outro, que aqui nao consegui colar, ficou só metade do código.
Attached Files
Edição feita por: Kahor, 16/03/2010, 13:59.