Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Mail Script

Status
Not open for further replies.

singersower

Technical User
Jan 5, 2005
20
US
I am woefully inadequate for such a simple script!
HELP!

What's wrong with this picture?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"<html>
<head>
<title>Contact Us</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form action=" method="post">
<input type=hidden name="recipient" value="mike@printgraphics.com">
<input type=hidden name="subject" value="FormMail Submission from PrintGraphics.com">
<input type="hidden" value="name,email" name="required">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
<table width="722" height="52" border="0" align="center">
<tr>
<td width="86"><div align="left"><font size="2" face="Arial, Helvetica, sans-serif"><strong>First Name*:</strong></font></div></td>
<td width="205"><label>
<input type=text name="realname" size="33">
</label></td>
<td width="106"><div align="left"><font size="2" face="Arial, Helvetica, sans-serif"><strong>Last Name*:</strong></font></div></td>
<td width="307"><input type=text name="realname" size="33"></td>
</tr>
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif"><strong>E-Mail Address*:</strong></font></td>
<td><input type="text" name="email" size="33"></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Street</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>City</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><strong><font size="2" face="Arial, Helvetica, sans-serif">Comments:</font></strong></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>

<br>
<p align="center"><font size="2" face="Arial, Helvetica, sans-serif">
<label>
<textarea name="text" cols="50" rows="10" id="text"></textarea>
</label>
</font></p>
<p align="center"><strong><font size="2" face="Arial, Helvetica, sans-serif">
<label>

<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Submit2" value="Reset">
</label>
</font></strong></p>
</div>
</form>
</body>
</html>

This is located here:
Thanks for any help, I have been beating my head against the monitor after waaaayyyy too long trying different combinations.

singersower :{
 
The bit that makes the difference is the CGI script


At a guess I'd suggest that you've blanked out some fields, but the CGI/Perl script requires them as it validates on those fields vv Street and City

post the script, and we can help more

==Paul

cigless ...
 
Your form has successfully presented it's input to the script. What problems are you experiencing.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top