Click to See Complete Forum and Search --> : arrgh! simple form won't work!


aj2004
11-19-2003, 02:57 AM
hello, i made a simple form that is supposed to send the results to an email address. the script i'm using is called tdformmailer.cgi (http://www.tdscripts.com/formmailer.html).

here's the form part of the html:

<form action="/cgi-bin/tdformmailer.cgi" method="POST">

<input type="text" name ="to">
<input type="text" name ="from">
<input type="text" name ="subject">
<textarea name="contents" rows="5" cols="64"></textarea>
<input type="submit" value ="Submit">

</form>

i'm running the Xitami web server of my machine and i do have the script in my cgi-bin. when i click submit, i get the following message:

Internal error: your request was unsuccessful
Cannot create CGI process - program not found

btw, i do have perl 5.8.0 in /usr/bin/ , which is where the script asks for it.

bsh152s
11-19-2003, 01:18 PM
What are the permissions on your cgi directory?

aj2004
11-19-2003, 03:41 PM
rwx for user, r-x for the other 2. seems correct, if everyone can execute inside the directory.