mi formulario es el siguiente:
Código PHP:
<form action="respuesta.php" accept-charset="text/html" method="POST" name ="registro" onsubmit="MM_validateForm('nombres','','R','apellidos','','R','email','','RisEmail','facultad','','R');return document.MM_returnValue">
<table width="100%" height="229" border="0" align="center" cellspacing="1">
<tr>
<td height="25"></td>
<td height="25" align="center" valign="top" class="Estilo41"> </td>
<td height="25" class="Estilo41"> </td>
<td height="25" class="Estilo35">Bach.<strong>
<input name="grado" type="radio" value="Bach." checked="CHECKED" />
</strong>Lic.<strong>
<input name="grado" type="radio" value="Lic." />
</strong>Mg.<strong>
<input name="grado" type="radio" value="Mg." />
</strong>Dr.<strong>
<input name="grado" type="radio" value="Dr." />
</strong></td>
<td height="25"></td>
</tr>
<tr>
<td width="10%" height="25"></td>
<td width="24%" height="25" class="Estilo35">Nombres <span class="Estilo43">*</span></td>
<td width="5%" height="25" class="Estilo41">:</td>
<td width="53%" height="25" class="Estilo35"><input name="nombres" type="text" style="border: 1 solid #003D59" size="30" /></td>
<td width="8%" height="25"></td>
</tr>
<tr>
<td width="10%" height="25"></td>
<td width="24%" height="25" class="Estilo35">Apellidos <span class="Estilo43">*</span></td>
<td width="5%" height="25" class="Estilo41">:</td>
<td width="53%" height="25" class="Estilo35"><input name="apellidos" type="text" style="border: 1 solid #003D59" size="30" /></td>
<td width="8%" height="25"></td>
</tr>
<tr>
<td width="10%" height="25"></td>
<td width="24%" height="25" class="Estilo35">Correo electrónico <span class="Estilo43">*</span></td>
<td width="5%" height="25" class="Estilo41">:</td>
<td width="53%" height="25" class="Estilo35"><input name="email" type="text" style="border: 1 solid #003D59" size="30" /></td>
<td width="8%" height="25"></td>
</tr>
<tr>
<td width="10%" height="25"></td>
<td width="24%" height="25" class="Estilo35">Dirección<span class="Estilo43"> *</span></td>
<td width="5%" height="25" class="Estilo41">:</td>
<td width="53%" height="25" class="Estilo35"><input name="direccion" type="text" style="border: 1 solid #003D59" size="30" /></td>
<td width="8%" height="25"></td>
</tr>
<tr>
<td height="25"></td>
<td height="25" class="Estilo35">Modelo de Página Personal </td>
<td height="25" class="Estilo41">:</td>
<td height="25" class="Estilo35"><label>
<select name="modelo" size="1" class="Estilo6">
<option value="Modelo (1) - Karma Soul" selected="selected">Modelo (1) - Karma Soul</option>
<option value="Modelo (2) - A-Blue CR7">Modelo (2) - A-Blue CR7</option>
<option value="Modelo (3) - Asterix">Modelo (3) - Asterix</option>
<option value="Modelo (4) - Terran C3">Modelo (4) - Terran C3</option>
<option value="Modelo (5) - Mystery">Modelo (5) - Mystery</option>
<option value="Modelo (6) - Frozen">Modelo (6) - Frozen</option>
<option value="Modelo (7) - Nikita">Modelo (7) - Nikita</option>
<option value="Modelo (8) - Paradise">Modelo (8) - Paradise</option>
<option value="Modelo (9) - Venus Pink">Modelo (9) - Venus Pink</option>
<option value="Modelo (10) - Digital Hand">Modelo (10) - Digital Hand</option>
</select>
</label>
<br />
<a href="modelosweb.php" target="_blank">[ver modelos disponibles] </a></td>
<td height="25"></td>
</tr>
<tr>
<td width="10%" height="17"></td>
<td width="24%" height="17" class="Estilo35">Comentario</td>
<td width="5%" height="17" class="Estilo41">:</td>
<td width="53%" height="17" class="Estilo35"><span style="font-weight: bold">
<textarea rows="6" name="consulta" cols="30" style="border: 1 solid #003D59"></textarea>
</span></td>
<td width="8%" height="17"></td>
</tr>
<tr>
<td width="10%" height="17"></td>
<td width="24%" height="17" class="Estilo41"></td>
<td width="5%" height="17" class="Estilo41"></td>
<td width="53%" height="17" class="Estilo35"><p class="Estilo35">(<span class="Estilo43">*</span>) Campos Obligatorios </p>
<p> </p></td>
<td width="8%" height="17"></td>
</tr>
<tr>
<td width="10%" height="17"></td>
<td height="17" colspan="3"><p align="center">
<label>
<input name="Submit" type="submit" class="Estilo35" value="Enviar Solicitud" />
</label>
<label>
<input name="reset" type="reset" class="Estilo35" value="Restablecer" />
</label>
</p> </td>
<td width="8%" height="17"></td>
</tr>
</table></form>
y el que procesa los datos de formulario es respuesta.php
Código PHP:
<?
require("class.phpmailer.php");
$mail = new PHPMailer();
$mail->Mailer = "smtp";
//Asignamos a Host el nombre de nuestro servidor smtp
$mail->Host = "server_smtp";
//Le indicamos que el servidor smtp requiere autenticación
$mail->SMTPAuth = true;
//Le decimos cual es nuestro nombre de usuario y password
$mail->Username = "usuario";
$mail->Password = "contraseña";
$mail->From = "contacto@midominio";
$mail->FromName = "Solicitud Electronica";
$mail->Subject = "Mensaje de Formulario Web";
$mail->AddAddress("[email protected]");
$mail->AddCC("[email protected]");
$mail->AddBCC($email);
$body = "FORMULARIO WEB \n\n";
$body .= "Nombres : ".$nombres. "\n";
$body .= "Apellidos : ".$apellidos. "\n";
$body .= "Dirección : ".$dirección. "\n";
$body .= "Modelo : ".$modelo. "\n";
$body .= "Correo : ".$email. "\n";
$body .= "Mensaje : ".$consulta. "\n";
$mail->Body = $body;
$mail->Send();
?> que variables debo modificar para enviar el mismo formulario estando _globals = Off en mi php.ini
Espero me puedan ayudar o darme algun alcance.
Muchas gracias.
Slds.

...todo funciono bien....he considerado todas las variables que recibo del formulario y las he inicializado tal como me lo dijiste, pero como haria en el caso de la parte de las copias de envio de correo que estoy considerando en el respuesta.php, porque solo me envia a la direccion de correo que recibo desde el formulario y no las que considero en el respuesta.php
