já tenho o código do formulário aqui prontinho, funcionando todos os outros campos, só não sei como fazer este campo para "anexar" o arquivo.
Por favor, alguém poderia me ajudar ??

Posted 07/06/2006, 10:26
Posted 08/06/2006, 15:38
<?php $nome = $HTTP_POST_VARS["nome"]; $cidade = $HTTP_POST_VARS["cargo"]; $estado = $HTTP_POST_VARS["email"]; $telefone = $HTTP_POST_VARS["idade"]; $email = $HTTP_POST_VARS["telefone"]; $assunto = $HTTP_POST_VARS["descricao"]; $mensagem = $HTTP_POST_VARS["arquivo"]; $headers = "From: $nome <$email>\n"; $headers .= "Return-Path: <$email>\n"; $headers .= "X-Sender: <$email>\n"; $headers .= "X-Mailer: IE / IE 6.2.3\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; $html = " <html> <body bgcolor='#FFFFFF'> <br> <font color='#FF6600'><strong>Alumínios O Melhor</strong></font> <br> <br> <font color='#FF6600'>Este e-mail foi gerado apartir do preenchimento do formulário no site bla, bla, bla</font> <br><br> <font color='#000000'><strong>Nome: </strong></font><font color='#FF6600'> $nome </font><br> <font color='#000000'><strong>Cidade: </strong></font><font color='#FF6600'> $cargo </font><br> <font color='#000000'><strong>Estado: </strong></font><font color='#FF6600'> $email </font><br> <font color='#000000'><strong>Telefone: </strong></font><font color='#FF6600'> $idade </font><br> <font color='#000000'><strong>E-mail: </strong></font><font color='#FF6600'> $telefone </font><br> <font color='#000000'><strong>Assunto: </strong></font><font color='#FF6600'> $descricao </font><br> </body> </html> "; mail ("blablabla@gmail.com", $assunto, $html, $headers); header ("Location: obrigado.php"); ?>alguém pode dar um help ???
Edição feita por: doriprata, 08/06/2006, 15:40.
Posted 09/06/2006, 02:56
Posted 08/10/2017, 19:37
Posted 08/10/2017, 21:36
Posted 08/10/2017, 22:58
Posted 09/10/2017, 03:05
Posted 05/11/2017, 01:38
Posted 27/11/2017, 18:53
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)