Web Host Chat
Bringing Hosts & Customers together since 2001
Home QLinks Members Your Profile Register FAQ's Hosts Only Area SMS Alerts Advertising
User Information
»REGISTER NOW!

Go Back   Web Host Chat > Web Hosting Chat > Shared and Reseller Web Hosting
Reply
 
LinkBack Thread Tools
Old 5th April 2008   #1 (permalink)
New User (2)
Brand New!
Join Date: Apr 2008
Posts: 2
Sean_O is on a distinguished road
PLEASE help with formail.pl and plesk 8.2.0

I have been trying for about 12 hours to make the formmail.pl script cooperate with my simple form page.

formmail version 1.92

server hosting our website is running plesk 8.2.0

Page was created in Dreamweaver CS3

html of the form: (note that I had to remove the < > characters to keep the html readable here, otherwise it just drops th actual form into the post)

form action="../cgi-bin/FormMail.pl" method="post" enctype="text/plain" name="contact" target="_blank" id="contact" dir="ltr" lang="en"
p class="style11">some text/p
p span class="style16" Name: /span
input name="Name" type="text" id="Name" value="Enter your full name here" size="53" /
/p
p span class="style16" e-mail:/span
input name="email" type="text" id="email" value="Enter your e-mail address here" size="53" /
/p
p
textarea name="comments" cols="48" rows="5" id="comments" Enter your questions, comments or suggestions here and click the 'Submit' button below.

A representative will contact you via e-mail, usually within 24 hours. /textarea
/p
p
input type="submit" name="submit-button" id="submit-button" value="Submit" /
input name="recipient" type="hidden" id="recipient" value="contact@mysiteaddress.com" /
/p
/form


Notice that there is no "results" value. This is because the tutorial I used to build the form completely glossed over it as if it were unimportant. I have had many 404 page not found errors as well a internal server errors in my quest to make this thing work, so I must need a results field in there somewhere, right?

Can someone PLEASE help me figure out what I need to do in order to make this run? Is there something in Plesk that needs to be adjusted or switched on/off to make this work properly?

Thank you in advance if you are able to assist,

-Sean
__________________
Registered User

Last edited by Sean_O : 5th April 2008 at 05:33 AM.
Sean_O is offline   Reply With Quote
Old 5th April 2008   #2 (permalink)
othellotech's Avatar
Join Date: Mar 2002
Location: London, United Kingdom
Age: 38
Posts: 4,253
othellotech is on a distinguished road
Quote:
Originally Posted by Sean_O View Post
form action="../cgi-bin/FormMail.pl" method="post" enctype="text/plain" name="contact" target="_blank" id="contact" dir="ltr" lang="en"
lose the target, lang and dir parts of that and make sure that the FM.pl really is in ../cgibin/ from where the html form is

Quote:
Originally Posted by Sean_O View Post
input name="recipient" type="hidden" id="recipient" value="contact@mysiteaddress.com" /
*NEVER* put the recipient of a form in the actual form, you will be abused by 1000 different spammers within days of uploading the page, get the IP blacklisted, and will be contributing to the 10-ton-o-sh!te we all get in our inboxes everyday

Apart from that, everything else should be fine - you have configured the formmail.pl file correctly ?
__________________
Rob Golding, Othello Technology Systems Ltd AS29527 Company#03894981 VAT#GB-782561410. T:0871 277 6875 F:0871 277 6875
domains email forwarding resellers ecommerce colocation rackspace ip transit secondary mx/dns datacentre ih online/offsite backup
* OthelloHosts.net CPanel/WHM, H-Sphere, Plesk, Ensim, DirectAdmin High-Availability Professional Email / Web Hosting
* OthelloVPS.net Managed Xen4 Enterprise Virtual Private Servers and Dedicated Servers
# Currently buying 123-reg, ukreg, heart-internet and enom domain resellers - www.hostacquisitions.co.uk
__________________
Web Host - VIP Member
othellotech is online now   Reply With Quote
Old 6th April 2008   #3 (permalink)
New User (2)
Brand New!
Join Date: Apr 2008
Posts: 2
Sean_O is on a distinguished road
Quote:
Originally Posted by othellotech View Post
lose the target, lang and dir parts of that and make sure that the FM.pl really is in ../cgibin/ from where the html form is



*NEVER* put the recipient of a form in the actual form, you will be abused by 1000 different spammers within days of uploading the page, get the IP blacklisted, and will be contributing to the 10-ton-o-sh!te we all get in our inboxes everyday

Apart from that, everything else should be fine - you have configured the formmail.pl file correctly ?

LOL! Did not know that about the address in th form field, thanks. Nobody likes 10 tons of sh!ite

What should I put in place within that field? Just the domain address? Or should I just leave it blank? Or is there something else?

BTW, thank you very much for responding to my query, I will give this a shot a bit later this evening and report back.
__________________
Registered User
Sean_O is offline   Reply With Quote
Old 6th April 2008   #4 (permalink)
othellotech's Avatar
Join Date: Mar 2002
Location: London, United Kingdom
Age: 38
Posts: 4,253
othellotech is on a distinguished road
Quote:
Originally Posted by Sean_O View Post
What should I put in place within that field? Just the domain address? Or should I just leave it blank? Or is there something else?
Put the recipient in the formmail.pl itself so the form can only send mail to whom you specify
__________________
Rob Golding, Othello Technology Systems Ltd AS29527 Company#03894981 VAT#GB-782561410. T:0871 277 6875 F:0871 277 6875
domains email forwarding resellers ecommerce colocation rackspace ip transit secondary mx/dns datacentre ih online/offsite backup
* OthelloHosts.net CPanel/WHM, H-Sphere, Plesk, Ensim, DirectAdmin High-Availability Professional Email / Web Hosting
* OthelloVPS.net Managed Xen4 Enterprise Virtual Private Servers and Dedicated Servers
# Currently buying 123-reg, ukreg, heart-internet and enom domain resellers - www.hostacquisitions.co.uk
__________________
Web Host - VIP Member
othellotech is online now   Reply With Quote
Old 6th April 2008   #5 (permalink)
I am Staff at
TDMWeb
About My Company!

Certified Host
Join Date: Jan 2004
Location: London
Posts: 414
TDMWeb is on a distinguished road
If you are using Matt's formmail, which seems likely, I'd advise not to do so (it's never been very secure) and contact your host for advice on which form-to-mail method to use. Good hosts may well have their own secure form-to-mail.
__________________
Chris at TDMWeb.com
Windows & Linux hosting and fully managed dedicated servers with great customer service!
UK-based but serving the world... (VAT No: 474698684)
__________________
Web Host - Certified Member
TDMWeb is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plesk 8 VPS galbus Request for products or services 3 10th June 2007 06:18 PM
HostClub Europe: Value Server with Plesk + all Plesk features StarGate Web Hosting and Related Offers 1 23rd April 2007 12:47 AM


Some great companies!


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0