Click here to get back home

FormMail Problems - Please help!

 HomeNewsGroups | Search

alt.www.webmaster - All aspects of webmastering business 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
FormMail Problems - Please help! Riptide 04-21-2005
Posted by Riptide on April 21, 2005, 7:19 am
Please log in for more thread options


I just uploaded a form on a VPS server I have from Interland. I
downloaded and installed FormMail on the server in the cgi-bin
directory, made my changes to the form and then made my changes to the
html form. Yet, I still get a server error. Being new at this,I'm
almost sure my path is not correct, but don't know what to do to
correct it. Could someone PLEEEEESE give me some direction?

I used "Fetch" for the Mac to upload the FormMail.pl into my cgi-bin.
Here's what my path looks like:

File Path: ftp://usr122057130:@sumnergroup.com/%2fusr/local/www/vhosts/
dbcfoundation.org/cgi-bin/FormMail.pl

Here is the info I entered on the FormMail form:

$mailprog = '/usr/sbin/sendmail -i -t -f
rbyrum@sumnergroup.com';

@referers = ('dbcfoundation.org','216.122.57.130');

Here is the info I entered on the html form:

<form action="http://dbcfoundation.org/cgi-bin/FormMail.pl"
show/hide quoted text

Okay - let me have it - WHAT DID I DO WRONG???



Posted by saz on April 21, 2005, 9:47 am
Please log in for more thread options


reggie@nauticacommunications.com says...
show/hide quoted text
Check that it's in the cgi-bin, check the name of the .pl file that if
you use caps for the F and M, the file is called the same, make sure you
set formmail.pl permissions to 755, and as a last resort rename the file
to .cgi to see if that helps.

Posted by GreyWyvern on April 21, 2005, 10:47 am
Please log in for more thread options


And lo, Riptide didst speak in alt.www.webmaster:

show/hide quoted text

See two obvious items above (with your email address kindly altered).

Hint: don't use FormMail, use something else:
show/hide quoted text

Form-to-email is one of the easiest server-side programming projects to
do; most people taking a programming course end up making one as part of
the curriculum. Use one that hardly anyone else uses. That way you're
not likely to become a target of crackers taking advantage of widely-used
scripts with security holes.

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- http://www.greywyvern.com/ringmaker - Orca Ringmaker: Host a web ring
from your website!

Posted by William Tasso on April 21, 2005, 3:41 pm
Please log in for more thread options


On Thu, 21 Apr 2005 14:19:36 +0100, Riptide

show/hide quoted text

That is a very poor form mail script. Lose it immediately and start again
with one that doesn't reveal how to hijack itself.

--
Whatever you do - do something.

Similar ThreadsPosted
NMS Formmail question January 26, 2005, 3:12 pm
webmail/formmail April 17, 2005, 3:34 am
ASP or PHP FormMail Script May 25, 2005, 11:17 am
Problem with FormMail September 18, 2005, 6:17 am
PHP Formmail issues April 30, 2009, 8:50 am
403 errors with FormMail.pl on 1and1 October 7, 2005, 3:17 pm
Reality Check on Formmail Security March 16, 2010, 4:09 pm
FormMail "Submit Query" Button edit January 19, 2005, 1:32 pm
relatively simple/secure formmail script recommendation? September 10, 2007, 8:19 pm
Formmail, recaptcha, and custom error page March 12, 2010, 6:03 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy