Para que el usuario me pueda adjuntar imagenes

Hola a todos, a ver si me podeis ayudar, necesito lo siguiente:
Tengo un formulario creado (nada complicado, muy básico) necesito que en este formulario haya la opción de que el usuario me pueda enviar a mi correo, imánes.
Alguien sabe como hacerlo?

Gracias
Hola que tal
no se como tengas tu formulario

pero te voy a poner un ejemplo de un formulario de melody soft
el cual permite eso que necesitas

tendrás que eliminar lo que no necesites


<html>
<head>
<title>Formularios de envío - Melodysoft</title>
<meta name="author" content="Veloxia Network">
<style type="text/css">
<!--
img {border: 0}
body,td {font-family: Verdana,Arial; font-size: 8pt; color: #000000}
input {font-family: Verdana,Arial; font-size: 7.5pt}
a:link, a:visited {text-decoration: none; color: #2030F0}
a:hover, a:active {text-decoration: underline; color: #D02010}
-->
</style>
</head>

<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0">

<table width="100%" height="100%" bgcolor="#FFFFFF" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="64" bgcolor="#000052">[contenido no disponible][contenido no disponible]</td>
</tr>
<tr>
<td height="20" valign="top">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="76" valign="top">[contenido no disponible]</td>
<td width="100%" background="http://images.melodysoft.com/web/sep3.gif"></td>
</tr>
</table>
</td>
</tr>

<tr>
<td align="center">

<table width="60%" bgcolor="#EFEFEF" align="center" border="0" cellspacing="0" cellpadding="6">
<tr>
<td align="left" bgcolor="#306090"><big style="color:#FFFFFF">Enviar mensaje</big></td>
<td align=right bgcolor="#306090">[contenido no disponible]</td>
</tr>
<tr>
<td colspan="2" align="center" height="5" background="http://images.melodysoft.com/bg_blue-whitem.gif"></td>
</tr>
<tr>
<td align="center" colspan="2">

<form method="post" action="http://forms.melodysoft.com" enctype="multipart/form-data">

<input type="hidden" name="id" value="">
<table border="0" bgcolor="#EFEFEF" cellspacing="5">
<tr>
<td align="right">Nombre:</td>
<td><input type="text" name="nombre" size="50" maxlength="40"></td>
</tr>
<tr>
<td align="right">E-Mail:</td>
<td><input type="text" name="email" size="50"></td>
</tr>
<tr> td align="right">Archivo:</td>
<td><input type="file" name="archivo" size="50"></td>
</tr>
<tr>
<td align="right">Imagen:</td>
<td><input type="file" name="image_logo" size="50"></td> </tr>
<tr>
<td colspan="2" align="center">El tamaño del archivo y la imagen no puede exceder los 4 KBytes</td>
</tr>
<tr>
<td colspan="2" align="center">Requiero respuesta:
<input type="radio" name="responder" id="respsi" value="Sí"> <label for="respsi">Sí</label>
<input type="radio" name="responder" id="respno" value="No"> <label for="respno">No</label>

</td>
</tr>
</table>


Mensaje

<textarea name="mensaje" cols="45" rows="5"></textarea>



<input type="submit" value=" Enviar ">
<input type="reset" value=" Borrar ">

</form>
</td>
</tr>
</table>


</td>
</tr>

<tr>
<td height="4" background="http://images.melodysoft.com/web/sep4.gif"></td>
</tr>

<tr>
<td height="10" align="center" bgcolor="#000052"><b style="font-size:7.5p;color:#FFFFFF">Servicio de formularios de envío de Melodysoft</td>
</tr>
</table>


espero que te sirva
saludos
hola volvoreta

mira yo recientemente e tenido la necesidad de enviar archivos por correo y buscando buscando encontre este codigo el cual modifique para que se pudiera enviar mas de un campo, y al final te redireccionara a un sitio especifico cuando se envia, esto ultimo lo tome de tu post en la construccion de un formulario por cierto gracias jeje

te coloco el codigo, el campo correo destinatario lo puedes quitar si decides ponerle una direccion fija al cual deseas que te lleguen los correos que te envian.

A estuve viendo la parte de enviar con copia a otro destinatario pero no lo logre :cry: si tu sabes me ayudas si porfa jeje

cualquier pregunta tamos a la orden te dejo con el codigo

salu

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Envio de correo con un archivo adjunto</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>

<?php
if ($_SERVER['REQUEST_METHOD']=="POST"){

// Aca defino el correo fijo donde deseo me lleguen los correos es este
//caso omito llenar el campo correo del destinatario
$to="[correo eliminado]";
// si lo que deseo es que el usuario decida a donde mandar sus correo
//habilito la siguiente opcion
// $to=$_POST['acorreo'];

//$subject="E-mail with attachment";
$subject=$_POST['asunto'];
// get the sender's name and email address
// we'll just plug them a variable to be used later
$from = stripslashes($_POST['fromname'])."<".stripslashes($_POST['fromemail']).">";

// generate a random string to be used as the boundary marker
$mime_boundary="==Multipart_Boundary_x".md5(mt_rand())."x";

// store the file information to variables for easier access
$tmp_name = $_FILES['filename']['tmp_name'];
$type = $_FILES['filename']['type'];
$name = $_FILES['filename']['name'];
$size = $_FILES['filename']['size'];

// here we'll hard code a text messge
// again, in reality, you'll normally get this from the form submission
// $message = "Here is your file: $name";

// Aca coloco todos los campos adicionales del formulario

$mensaje="Mensaje1: ".$mensaje."\n
Mensaje 2: ".$mensajeuno."\n
Mensaje 3: ".$mensajedos."\n
Mensaje 4: ".$mensajetres."\n
Mensaje 5: ".$mensajecuatro."\n";
$message = stripslashes($mensaje);

// Si solo deseo colocar el campo mensaje al estilo de los clientes de
//correo desabilito lo anterior y habilito la siguiente opcion
// $message = $_POST['mensaje'];



// if the upload succeded, the file will exist
if (file_exists($tmp_name)){

// check to make sure that it is an uploaded file and not a system file
if(is_uploaded_file($tmp_name)){

// open the file for a binary read
$file = fopen($tmp_name,'rb');

// read the file content into a variable
$data = fread($file,filesize($tmp_name));

// close the file
fclose($file);

// now we encode it and split it into acceptable length lines
$data = chunk_split(base64_encode($data));
}

// now we'll build the message headers
$headers = "From: $from\r\n" .
"MIME-Version: 1.0\r\n" .
"Content-Type: multipart/mixed;\r\n" .
" boundary=\"{$mime_boundary}\"";

// next, we'll build the message body
// note that we insert two dashes in front of the
// MIME boundary when we use it
$message = "This is a multi-part message in MIME format.\n\n" .
"--{$mime_boundary}\n" .
"Content-Type: text/plain; charset=\"iso-8859-1\"\n" .
"Content-Transfer-Encoding: 7bit\n\n" .
$message . "\n\n";

// now we'll insert a boundary to indicate we're starting the attachment
// we have to specify the content type, file name, and disposition as
// an attachment, then add the file content and set another boundary to
// indicate that the end of the file has been reached
$message .= "--{$mime_boundary}\n" .
"Content-Type: {$type};\n" .
" name=\"{$name}\"\n" .
//"Content-Disposition: attachment;\n" .
//" filename=\"{$fileatt_name}\"\n" .
"Content-Transfer-Encoding: base64\n\n" .
$data . "\n\n" .
"--{$mime_boundary}--\n";

// now we just send the message
if (@mail($to, $subject, $message, $headers)) {


echo "Correo enviado
";
// Esta es la parte que te copie jeje gracias

echo "<meta HTTP-EQUIV='refresh' content='1;url=http://www.comocreartuweb.com/phpBB2/ftopic4538.html'>";


}
else
echo "Fallo en el envío";
}
} else {
?>


<center>Envío de un correo con un archivo adjunto:</center></p>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"
enctype="multipart/form-data" name="form1">


Nombre del que envia..... <input type="text" name="fromname" size="25"></p>


Correo del que envia....... <input type="text" name="fromemail" size="25"></p>


Correo del destinatario.... <input type="text" name="acorreo" size="25"></p>


Asunto............................ <input type="text" name="asunto" size="25"></p>


Mensaje: <textarea name="mensaje" cols="50" rows="5"></textarea></p>


Mensaje uno: <textarea name="mensajeuno" cols="50" rows="5"></textarea></p>


Mensaje dos: <textarea name="mensajedos" cols="50" rows="5"></textarea></p>


Mensaje tres: <textarea name="mensajetres" cols="50" rows="5"></textarea></p>


Mensaje cuatro: <textarea name="mensajecuatro" cols="50" rows="5"></textarea></p>


Archivo a enviar: <input type="file" name="filename"></p>


<input type="submit" name="Submit" value="Enviar"></p>
</form>
<?php } ?>
</body>
</html>
...haciendo camino al andar
Os lo agradezco mucho a los dos, pero ya lo solucioné, consegí componer con varios ejemplos que encontré por otras webs un formulario a mi medida, que me permite que me adjunten una imagen, de unas determinadas dimensiones y con extensión gif o jpg.

Muchas gracias igualmente y si alguien lo necesita solo tiene que decirlo, me costó lo mio que todo funcionara así que si le puede servir a alguien, gustosamente se lo cedo.

Un saludo