Jump to content

Recommended Posts

Posted

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

Posted
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:

Posted

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.

Posted

It's working now. Thanks Rick!

 

You didn't have to bring up FormMail just for me. :lol: 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...