My
Ideal
Host
We do more than just host websites
Customer login
HOME
WEB
HOSTING
RESELLER HOSTING
CUSTOMER SUPPORT
TUTORIALS
COMPANY
View source
for
FormMail script
<seo title="FormMail script" metakeywords="contact form,email form,formmail" metadescription="How to use formmail script for a contact form" /><div align=justify>Having a contact form on your site is very useful as it allows your visitors to contact you or just leave a comment. But simply adding the code of the form to the page is not enough. For it to function properly, you need to have formmail script under your hosting account. Don't worry, it is not that difficult and can be done within several minutes. First, follow the links below. There you can download the formmail script and get information on its installation and usage: http://scriptarchive.com/readme/formmail.html http://scriptarchive.com/download.cgi?s=formmail Once the formmail script is downloaded to your local computer, you need to upload it to ''cgi-bin'' folder on the server (this can be done via any '''''[http://myidealhost.com/tutorials/What_is_FTP FTP]''''' client) and set '''''[http://myidealhost.com/tutorials/How_to_change_file_permissions permissions]''''' for formmail.pl to 755. Then find the following line in the .pl script: '''''@referers = ('scriptarchive.com','YOUR_IP'); ''''' and change it to: '''''@referers = ('yourdomain.com','www.yourdomain.com');''''' Also you will need to add the following line to your contact form:</div> '''''<input type=hidden name="recipient" value="email@your.host.com">''''' <div align=justify>This defines to which email address you want the emails from your form to be sent. Finally, add the following line to the code of the page your form is located on:</div> '''<form action="http://www.yourdomain.com/cgi-bin/formmail.pl" method="post" name="frmContact" id="frmContact">''' <div align=justify>This specifies the path to your formmail script. Now you should be able to receive mails sent from the contact form on your website.</div>
Return to
FormMail script
.
Navigation
Hosting Issues
Cloud Hosting
Billing Issues
FAQ
Articles
News
Interesting from the web
Search
Subscribe to our newsletters