I am very confused. Please help!

CGI script for email form
#1
Posted 17 June 2004 - 07:56 AM

I am very confused. Please help!
#2
Posted 17 June 2004 - 08:24 AM

A better choice would be a PHP mailer:
http://www.dtheatre....ts/formmail.php
http://phpmailer.sourceforge.net/
Create your forms using html, and the PHP script runs in the background, protects your email addresses, and prevents turning your site into a spam server.
#3
Posted 17 June 2004 - 09:15 AM

I'm sorry, I really am flying blind here not to mention under huge time constraints! I was merrily coding away in Dreamweaver thinking all I had to do was make up a form and attach it....I've told my boss it's no problem and I have since discovered I lied!
Is there any further help you could offer?
#4
Posted 17 June 2004 - 10:46 AM

Q. Do you support ASP, PHP, MYSQL, COLDFUSION, online catalogs such as MIVA MERCHANT?
123-reg doesn't, however, another Host Europe brand offers more advanced hosting packages to suit all your needs. Webfusion. If you need advanced functionality, call the sales team on 0115 917 0000
Looks like they don't support PHP


Looks like you don't have much choice but to use FormMail:
http://www.scriptarc...m/formmail.html
Consider adding this to your .htaccess file for added security
redirect /cgi-sys/formmail.cgi http://www.stoptheviruscold.invalid redirect /cgi-sys/formmail.pl http://www.stoptheviruscold.invalid redirect /cgi-sys/FormMail.pl http://www.stoptheviruscold.invalid
#5
Posted 17 June 2004 - 12:07 PM

http://www.scriptarc...=formmail&c=zip
extract the file then upload the formmail.pl to your site.....for example yoursite.com/cgi/formmail.pl
then you will have to enter some code onto a new website....
the following code will submit a users name and email address . copy and paste the following code into notepad.
<!--- start form mail code --->
<table cellpadding="0" cellspacing="0" border="0"
bgcolor="ffffff" width="100%">
<form method="POST" action="yoursite.com/cgi/formmail.pl">
<input type=hidden name="recipient" value="[email protected]">
<input type=hidden name="redirect" value="website to go after submit email">
<input type=hidden name="print_config" value="realname,email,subject,type,submition">
<input type=hidden name="print_blank_fields" value="1">
<tr>
<td width="20"> </td>
<td width="75" align="right"
valign="top">Name:</td>
<td width="455" align="left">
<input type=text name="realname" style="background:f9f9f9"
</td>
</tr>
<tr>
<td width="20"> </td>
<td width="75" align="right"
valign="top">E-mail: </td>
<td width="455" align="left">
<input type=text name="email"></td>
</tr>
<tr>
<td width="20"> </td>
<td width="75" align="right" valign="top"> </tr>
<tr>
<td width="20"> </td>
<td width="50" align="right"> </td>
<td width="480" align="left" colspan="2">
<input type="submit" value="submit"></td>
</tr>
</form>
</table>
<!--- end form mail code --->
change the bold letters to adhere to your site or email address.
sorry if it looks mumbo jumbo but after you are finished, save the file as "contact.html" then upload it to your site.
i did this really quick so if you have any questions please reply back.
ditto
#6
Posted 17 June 2004 - 12:31 PM


#7
Posted 28 January 2008 - 10:26 PM

I will really appreciate it.
Similar Topics
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
As Featured On:






