ColdAsh Posted April 25, 2004 Posted April 25, 2004 Well Rick told me I shouldn't bother the support and should move to the forums.. . so this looked like the best place to start at least... Anyways I'm trying to write a form system which I will be transferring to a friend's server once I can get it to work. As of now I'm working on http://coldashes.com/dad_mom/Selection.htm Which is a basic web form. The issue I'm having is getting it to send back to me through the server. Aromal sent me to go get FormMail from http://scriptarchive.com/formmail.html So I did, now I'm trying to get it to work... On the page I'm working on I'm using <form name="Selection" method="POST" ACTION="http://coldashes.com/cgi-bin/FormMail.pl" ENCTYPE="text/plain"> <input type=hidden name="recipient" value="MY EMAIL HERE"> (took out my e-mail just incase of spam bots. ) Anyways, that doesn't work at all. I don't know if I am correct but the only things that needed to be edited were located in the "Boxed" area... Anyways here is the edits... in the "box area" (I just copied and pasted the code) ############################################################################## # Define Variables # # Detailed Information Found In README File. # # $mailprog defines the location of your sendmail program on your unix # # system. The flags -i and -t should be passed to sendmail in order to # # have it ignore single dots on a line and to read message for recipients # $mailprog = '/usr/lib/sendmail -i -t'; # @referers allows forms to be located only on servers which are defined # # in this field. This security fix from the last version which allowed # # anyone on any server to use your FormMail script on their web site. # @referers = ('coldashes.com','209.152.175.64'); # @recipients defines the e-mail addresses or domain names that e-mail can # # be sent to. This must be filled in correctly to prevent SPAM and allow # # valid addresses to receive e-mail. Read the documentation to find out how # # this variable works!!! It is EXTREMELY IMPORTANT. # @recipients = ('coldash(@referers'); # ACCESS CONTROL FIX: Peter D. Thompson Yezek # # @valid_ENV allows the sysadmin to define what environment variables can # # be reported via the env_report directive. This was implemented to fix # # the problem reported at http://www.securityfocus.com/bid/1187 # @valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT'); # Done # ############################################################################## Anyways... I am wondering what I am doing wrong with this all but knowing my luck, I'm either overlooking something or I'm really screwing up. Thanks in advanced to anyone who sat and even read through this all, let alone tries to help Quote
LisaJill Posted April 25, 2004 Posted April 25, 2004 Is what you want simply a form for people to email you from? I hate to disagree with Aromal, but I would highly suggest you not use formmail. Plenty of unscrupulous folks use that to spam from. It's a very unsecure and well known script. I personally use DodosMail and several people here use Ultimate Form Mail. Sorry I can't help with the other formmail. Quote
TCH-Rob Posted April 25, 2004 Posted April 25, 2004 ColdAsh, Yeah, the helpdesk is for hosting related issues and not so much software issues. Especially if it is software third party created. I have to agree with Lisa that regular formmail is full of holes and if I remember it may even be disabled on the servers. I would pick up the Ultimate Form Mail that one of our family members has made, it works well on the servers here and Jack is great at giving support for it as well. Quote
ColdAsh Posted April 25, 2004 Author Posted April 25, 2004 Okay. Thanks! I'll try it out when I can get time and if I need any help I'll post back here. Quote
ColdAsh Posted April 25, 2004 Author Posted April 25, 2004 -- Just wanted to say thanks for the help. I used Ultimate Form Mail and was very pleased with it, so thanks a lot! -- Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.