PDA

View Full Version : Problem with cgiemail



JayC
11-30-2007, 10:45 AM
I am having a problem with my cgi email form to email. I keep getting a HTTP 500 Internal Server Error when I try to submit the form. How can I fix this? Your assistance is greatly appreciated.

Depeche
11-30-2007, 12:31 PM
What language is the script written in?

JayC
11-30-2007, 12:52 PM
it's a cgi script. This is my first time creating a form so I'm a little lost. http://hairoriginal2000.com/Appointments.html

Depeche
11-30-2007, 01:23 PM
Ok .. number 1: "<FORM METHOD="POST"
ACTION=http://hairoriginal2000.com/cgi-bin/cgiecho/Appointments.txt>"
is what you wrote it should be.
<FORM METHOD="POST" ACTION=http://hairoriginal2000.com/cgi-bin/cgiecho/Appointments.CGI>

Your cgi program should end with .CGI.

Number 2: Is it executable?

Post the script here. Just copy and paste the code and I will tell you what is happening.

JayC
11-30-2007, 02:02 PM
Thanks I am trying it now.

Depeche
11-30-2007, 02:10 PM
If that doesn't work give me the code. And I can see what you did wrong.

Depeche
11-30-2007, 02:11 PM
Well you have to have a appointments.cgi in cgi-bin for it to work.

JayC
11-30-2007, 02:36 PM
there still appears to be the same problem with the 500 error

Depeche
11-30-2007, 04:11 PM
give me the code!!

Oh you did. Do you have a CGI script in cgi-bin?

JayC
11-30-2007, 04:16 PM
I have the cgi email script and the cgiecho script in the cgi bin.

Depeche
11-30-2007, 04:18 PM
*|* do you want mine? It is so much simpler. It's does not need to go to cgi-bin/cgiecho

It's just plain cgi-bin/mail.cgi

And it works perfect no spam da da da

JayC
11-30-2007, 05:35 PM
yes please I'd appreciate it.