foros.vulkano.com
 FAQFAQ   BuscarBuscar   RegistrarseRegistrarse   PerfilPerfil    LoginLogin 
Tema de envio de Formulario
Publicar nuevo tema   Responder al tema    Foros de discusión -> Foro Diseño Web
Ver tema anterior :: Ver tema siguiente  
Autor Mensaje
eduardo
Invitado





MensajePublicado: Jue Mar 10, 2005 8:19 pm    Asunto: Tema de envio de Formulario Responder citando

muy bien tengo un problemon y disculpa que moleste en este foro quiero enviar un formulario con datos del usuario o para contactar conmigo. pero no quiero que utilice su e-mail me podrian decir o mostrar el script para hacer esto la direccion es : [LINK ELIMINADO] les voy a agradecer un monton mi correo windows@telesurf.com.py

gracias
Volver arriba
Vulkano
Site Admin


Registrado: 25 Oct 2004
Mensajes: 170

MensajePublicado: Jue Mar 10, 2005 9:07 pm    Asunto: Responder citando

Hola Eduardo,

Para ver un ejemplo de como enviar un formulario mediante PHP puedes revisar el siguiente tema del foro donde se responde a tu pregunta:
"Crear un formulario de contacto con PHP"

Saludos,
_________________
VULKANO SERVICIOS TÉCNICOS S.L.
Alojamiento Web, Hosting, Registro de Dominios
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del autor
eduardo
Invitado





MensajePublicado: Jue Mar 10, 2005 9:10 pm    Asunto: respuesta Responder citando

si ya lo he visto pero no lo entiendo el codigo php que pusiste ya lo colge te podes fijar [LINK ELIMINADO] y me sale el error no lo se modificar..

gracias por responder.
Volver arriba
Eduardo
Invitado





MensajePublicado: Jue Mar 10, 2005 9:22 pm    Asunto: Responder citando

Hagamos lo siguiente este es el scropt de mi formulario:


<table cellspacing=0 cellpadding=0 width="95%" border=0>
<tbody>

<tr>
<td width="100%" align=left bgcolor="#FFFFFF"><!--webbot BOT="GeneratedScript" PREVIEW=" " startspan -->
<script language=JavaScript type=text/javascript><!--
function FrontPage_Form1_Validator(theForm)
{

if (theForm.NombreApellido.value == "")
{
alert("Escriba un valor para el campo \"NombreApellido\".");
theForm.NombreApellido.focus();
return (false);
}

if (theForm.NombreApellido.value.length < 4)
{
alert("Escriba por lo menos 4 caracteres en el campo \"NombreApellido\".");
theForm.NombreApellido.focus();
return (false);
}

if (theForm.NombreApellido.value.length > 60)
{
alert("Escriba como máximo 60 caracteres en el campo \"NombreApellido\".");
theForm.NombreApellido.focus();
return (false);
}

if (theForm.email.value == "")
{
alert("Escriba un valor para el campo \"email\".");
theForm.email.focus();
return (false);
}

if (theForm.email.value.length > 100)
{
alert("Escriba como máximo 100 caracteres en el campo \"email\".");
theForm.email.focus();
return (false);
}

if (theForm.telefono.value == "")
{
alert("Escriba un valor para el campo \"telefono\".");
theForm.telefono.focus();
return (false);
}

if (theForm.telefono.value.length > 256)
{
alert("Escriba como máximo 256 caracteres en el campo \"telefono\".");
theForm.telefono.focus();
return (false);
}

if (theForm.Ciudad.value == "")
{
alert("Escriba un valor para el campo \"Ciudad\".");
theForm.Ciudad.focus();
return (false);
}

if (theForm.Ciudad.value.length > 256)
{
alert("Escriba como máximo 256 caracteres en el campo \"Ciudad\".");
theForm.Ciudad.focus();
return (false);
}

if (theForm.Pais.value == "")
{
alert("Escriba un valor para el campo \"Pais\".");
theForm.Pais.focus();
return (false);
}

if (theForm.Pais.value.length > 256)
{
alert("Escriba como máximo 256 caracteres en el campo \"Pais\".");
theForm.Pais.focus();
return (false);
}

if (theForm.Actividad.value == "")
{
alert("Escriba un valor para el campo \"Actividad\".");
theForm.Actividad.focus();
return (false);
}

if (theForm.Actividad.value.length > 256)
{
alert("Escriba como máximo 256 caracteres en el campo \"Actividad\".");
theForm.Actividad.focus();
return (false);
}
return (true);
}
//--></script>
<!--webbot BOT="GeneratedScript" endspan -->
<form
action=http://www.yacarehosting.com/Formularios/hostingnetmail.php
method=post name=FrontPage_Form1 class="Estilo11"
onSubmit="return FrontPage_Form1_Validator(this)" language=JavaScript>
<input type=hidden
value="Formulario HOSTING-NET.net" name=subject>
<input
type=hidden value=http://www.yacarehosting.com/Formularios/respuesta.html
name=redirect>
<div align=center>
<p><font face=Verdana> <small> <strong>¿Qué clase de comentario quiere enviar?</strong></small></font></p>
</div>
<dl>
<dd>
<div align=left>
<p> <font face=arial>
<input type=radio
value=V1 name=R1>
</font><font face=Verdana><small><strong>Pedido
<input type=radio
checked value=Consultas name=Tipodemensaje>
Consulta de Servicios
<input type=radio value=Sugerencias
name=Tipodemensaje>
Sugerencias </strong></small></font></p>
</div>
</dd>
</dl>
<div align=left>
<p><font face="arial"><strong><small>¿Cuál es el tema de su consulta?</small></strong></font></p>
</div>
<div align=left>
<p><font face="arial"><small>
<select size=1 name=Asunto>
<option value="Registro de Dominio" selected>Registro de Dominio</option>
<option value="Diseño web">Dise&ntilde;o web</option>
<option value="Diseño Grafico">Dise&ntilde;o Grafico</option>
<option value="e-mail Personalizado">e-mail personalizado</option>
<option value="e-commerce">e-commerce</option>
<option
value=Otros>Otros</option>
</select>
<strong><small>Otros:</small> </strong>
<input maxlength=256
size=9 name="Otro asunto">
</small></font></p>
</div>
<dl>
<div align=left>
<p> <strong><small><font face="arial">¿ Cómo se enteró de nosotros?</font></small></strong></p>
</div>
<div align=left>
<p><font face="arial"><small>
<select size=1 name=D1>
<option value="Por buscadores">Por buscadores</option>
<option>Recomendacion</option>
<option
value="Navegando la web">Navegando la web</option>
<option
value=Comentarios>Comentarios</option>
<option
value=Mailing>Mailing</option>
<option value="Por banners"
selected>Por banners</option>
<option
value="Otros medios">Otros</option>
</select>
<strong><small>Otros:</small> </strong>
<input maxlength=256
size=12 name=dedonde>
</small></font></p>
</div>
<div align=left>
<p><font face="arial"><small><strong>Escriba sus comentarios en el espacio siguiente:</strong></small></font></p>
</div>
<div align=left>
<div align=center>
<table cellspacing=0 cellpadding=0 width="95%" border=0>
<tbody>
<tr>
<td width="100%"><p align=center><font face="arial"><small>
<textarea name=Comentarios rows=10 cols=50></textarea>
</small></font></p></td>
</tr>
</tbody>
</table>
</div>
</div>
<div align=center>
<p><font face="arial"><small><strong>Díganos cómo comunicarnos con usted:</strong></small></font></p>
</div>
<div align=center>
<table cellpadding=0 width="90%" border=0>
<tbody>
<font
face=arial>

<tr>
<td width="100%"><div align=right>
<p> <font face=arial><small><strong>Nombre y Apellido</strong></small>&nbsp;
<!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="4" i-maximum-length="60" -->
<input
maxlength=60 size=27 name=NombreApellido>
</font> </p>
</div></td>
</tr>
<tr>
<td width="100%"><div align=right>
<p><font face=arial><small><strong>E-mail</strong></small>&nbsp;
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="100" -->
<input
maxlength=100 size=27 name=email>
</font> </p>
</div></td>
</tr>
<tr>
<td width="100%"><div align=right>
<p><font face=arial><small><strong>Tel</strong></small>&nbsp;
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" -->
<input
maxlength=256 size=27 name=telefono>
</font> </p>
</div></td>
</tr>
<tr>
<td width="100%"><div align=right>
<p><font face=arial><strong><small>Ciudad / Provincia</small></strong>
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" -->
<input
maxlength=256 size=27 name=Ciudad>
</font> </p>
</div></td>
</tr>
<tr>
<td width="100%"><div align=right>
<p><small><font face=arial><strong>País</strong>&nbsp;
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" -->
<input
maxlength=256 size=27 name=Pais>
</font></small> </p>
</div></td>
</tr>
<center>
</center>
<tr>
<td width="100%"><p align=right><font face=arial><small><b>Actividad</b>
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" -->
<input
maxlength=256 size=27 name=Actividad>
</small></font> </p></td>
</tr>
<tr>
<td width="100%"><p align=right><font face=arial><small><b>Sitio Web </b>(si posee)<b>&nbsp;</b>
<input size=27
value=http:// name=Actividad1>
</small></font> </p></td>
</tr>
<tr>
<td width="100%"><p align=right><font face=arial><strong><small>ICQ </small></strong><small>
<input size=27
name=ICQ>
</small></font> </p></td>
</tr>
<tr>
<td width="100%"><p align=right><font face=arial><strong><small>MSN</small> </strong><small>
<input size=27
name=MSN>
</small></font> </p></td>
</tr>
</TBODY>
</table>
</div>
<center>
<div align=right>
<p><small>
<input type=submit value="Enviar formulario">
<input type=reset value="Borrar comentarios">
</small></p>
</div>
</center>
</dl>
</form>
<span class="Estilo11"></FONT></span></td>
</tr>
</TBODY>
</table>


Y ES ESTE FORMULARIO LO QUE QUIERO QUE SE PONGA EN MI WEB PERO COMO LO HAGO PARA QUE ME LO ENVIE SIN QUE EL USUARIO UTILICE SU MAIL ... LO QUE QUIERO ES QUE EL ESCRIBA SU DUDA Y YO LO RECIBA POR E-MAIL O DE CUALQUIER OTRA MANERA!!


GRACIAS
Volver arriba
Vulkano
Site Admin


Registrado: 25 Oct 2004
Mensajes: 170

MensajePublicado: Jue Mar 10, 2005 9:50 pm    Asunto: Responder citando

Creo que estás intentando ir demasiado rápido y te estás liando. Te recomiendo que antes de continuar aprendas las nociones básicas de HTML y PHP. A continuación te facilito un par de enlaces:

Tutorial de HTML
Manual de PHP

Saludos,
_________________
VULKANO SERVICIOS TÉCNICOS S.L.
Alojamiento Web, Hosting, Registro de Dominios
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del autor
Mostrar mensajes de anteriores:   
Publicar nuevo tema   Responder al tema    Foros de discusión -> Foro Diseño Web Todas las horas son GMT + 1 Hora
Página 1 de 1

 
Cambiar a:  
Puede publicar nuevos temas en este foro
No puede responder a temas en este foro
No puede editar sus mensajes en este foro
No puede borrar sus mensajes en este foro
No puede votar en encuestas en este foro


Powered by phpBB © 2001, 2002 phpBB Group - Archivo Foros
Oferta Alojamiento Web