hockeycat93 Posted June 14, 2003 Posted June 14, 2003 OK...I'm new to this CGI stuff so please bear with me. I am trying to create a form but I seem to have problems with the scripting because everytime I try to "send" the form, I get a "500 Internal Server Error." Here is my coding: > <form name="form1" method="post" action="http://hockeycat93.com/cgi-sys/FormMail.cgi"> <input name="recipient" type="hidden" value="cat@hockeycat93.com"> <input name="subject" type="hidden" value="Dreamweaver MX form"> <input name="redirect" type="hidden" id="redirect" value="http://www.hockeycat93.com"> Am I missing something here or am I doing something wrong? Any help would be appreciated it. Thanks! Cat Quote
surefire Posted June 14, 2003 Posted June 14, 2003 Unless you have purposely changed your directory name, I think the line shoule read Also, I see that your redirect is pointing to your home page... you might want to construct a thank you page and set the redirect to that location. Example: Quote
TCH-Don Posted June 14, 2003 Posted June 14, 2003 Jack, what is the status of FormMail? I thought is was disabled see this thread In any case if it is dissabled, there have been a lot of posts here about php forms, which are more secure. Quote
TCH-Rick Posted June 14, 2003 Posted June 14, 2003 I started to respond earlier but needed to do some checking. Here's the latest. Personally, I would recommend using a different script such as the one that was shared on the forum when the problem with formmail started a few weeks back. Formmail.cgi has been disabled on all the servers. We are willing to reenable it and will keep an eye on it but prefer to do it on as it is requested for different servers right now. Once we see that it is working correctly we can do it on all servers. We have just re-enabled formmail.cgi on server 24 so, Hockeycat, if you will try the form again and see what happens. I am not real familiar with FormMail's format but am not sure the action="http://hockeycat93.com/cgi-sys/FormMail.cgi" is the correct format or whether it should be action="/home/username/public_html/cgi-sys/FormMail.cgi" Perhaps someone who has used it more can help with this detail. Quote
hockeycat93 Posted June 15, 2003 Author Posted June 15, 2003 It's working now. Thanks Rick! You didn't have to bring up FormMail just for me. I ended up using one of the .php files suggested by one of the people on the thread listed here. I hadn't been aware of the problems FormMail was causing. Cat 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.