
18/05/2009, 06:32
|
| | Fecha de Ingreso: marzo-2009
Mensajes: 31
Antigüedad: 16 años Puntos: 1 | |
problema formulario perl Quiero enviar un formulario por emeil y he buscado un codigo perl para poder hacerlo,pero no me funciona y no tengo claro si estan bien las rutas que he modificado..
Me dice que tengo que modificar eso:
(he quitado los h,t,t,p://,w,w,w y el @ por lo del spam..)
# Location of Mail Program
$mailprog =i.com/html/sample.html
# Location where database file will be kept
# This directory must be 777
$datadir = "/data"
# Your servers domain
# This ensures that the form is submitted
# from your server.
$url = "m"
y el html:
(he modificado: /cgi-bin/dcforms98.cgi y arnauguellgmail.com)
HTML
HEAD
TITLEEMail Form Example/TITLE
/HEAD
BODY BGCOLOR="#FFFFFF"
FORM ACTION="calbacardi.com/cgi-bin/dcforms98.cgi" METHOD=POST
INPUT TYPE="hidden" name="param_recipient" value="al.comlgmail.com"
INPUT TYPE="hidden" name="param_subject" value="Survey Form"
INPUT TYPE="hidden" name="param_env_report" value=""
INPUT TYPE="hidden" name="param_order" value="Name,EMail,Location,Comment"
INPUT TYPE="hidden" name="param_database" value=""
INPUT TYPE="hidden" name="param_required" value="Name,EMail"
table border="0"
tr
th
Name:
/th
td
input type="text" name="Name" size="40"
/td
/tr
tr
th
EMail:
/th
td
input type="text" name="EMail" size="40"
/td
/tr
tr
th
Location:
/th
td
input type="text" name="Location" size="40"
/td
/tr
tr
th
Comment:
/th
td
textarea name="Comment" rows="4" cols="40"/textarea
/td
/tr
/table
INPUT TYPE=submit value="Submit Survey"
INPUT TYPE=reset value="Reset Form"
/FORM
/body
/html
muchas gracias
Última edición por arnair; 26/05/2009 a las 07:54 |