cgi dummy
cgi dummy
(OP)
Hi,
I have no idea how to make my form return results to me. I have asked my web host to help but I'm not getting results from them. Would someone have a look at this form and tell me what I need to do or what I'm doing wrong. http://preciousgiftsurrogacy.com/surrogateform.htm
Thanks
I have no idea how to make my form return results to me. I have asked my web host to help but I'm not getting results from them. Would someone have a look at this form and tell me what I need to do or what I'm doing wrong. http://preciousgiftsurrogacy.com/surrogateform.htm
Thanks
RE: cgi dummy
RE: cgi dummy
RE: cgi dummy
CODE --> test.html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type" />
<title>Test Page</title>
</head>
<body>
So far, so good, so what?<br />
</body>
</html>
RE: cgi dummy
RE: cgi dummy
RE: cgi dummy
RE: cgi dummy
RE: cgi dummy
RE: cgi dummy
CODE
[code]
<td valign="top"><form name="surrogate" method="post" action="http:
[code]
and see if that helps. The browser may be confused by the double address and improper quoting there.
RE: cgi dummy
RE: cgi dummy
Take:
CODE
and try:
CODE
hope that helps you.
RE: cgi dummy
RE: cgi dummy
Also I have had problems with CGI's with the wrong end of line characters Ex. running a cgi saved in windows on a linux system. If there is a edit option try opening the file to edit and then saving it without making any changes to change the end of line characters.
If you can post your server side code that would also help so we can see if we can find any problems such as improper sha-bang line or something.
RE: cgi dummy
http://www.preciousgiftsurrogacy.com/mainwebsite_cgi/formmail.cgi
I get a HTTP 404 Not Found. But if i change it to:
http://www.preciousgiftsurrogacy.com/cgi-bin/formail.cgi
I get a 500 Internal Server Error. Just a thought.
RE: cgi dummy
RE: cgi dummy
< 220 ProFTPD FTP Server ready.
> USER preciousgift@preciousgiftsurrogacy.com
< 331 Password required for preciousgift@preciousgiftsurrogacy.com.
> PASS
< 230 User preciousgift@preciousgiftsurrogacy.com logged in.
> PWD
< 257 "/home/preciousgift" is current directory.
> PWD
< 257 "/home/preciousgift" is current directory.
> CWD /home/preciousgift
< 250 CWD command successful
> MKD MM_CASETEST4291
< 257 "/home/preciousgift/MM_CASETEST4291" - Directory successfully created
> CWD /home/preciousgift
< 250 CWD command successful
> RMD MM_CASETEST4291
< 250 RMD command successful
> CWD /home/preciousgift
< 250 CWD command successful
> MKD xyiznwsk
< 257 "/home/preciousgift/xyiznwsk" - Directory successfully created
> CWD /home/preciousgift
< 250 CWD command successful
> PASV
< 227 Entering Passive Mode (67,19,70,146,236,216).
> TYPE A
< 200 Type set to A
> LIST -al
< 150 Opening ASCII mode data connection for file list
< drwx------ 4 preciousgift preciousgift 4096 Jul 29 17:45 .
< drwxr-x--x 3 preciousgift preciousgift 4096 Jul 14 22:51 ..
< -rw-r--r-- 1 preciousgift preciousgift 24 Jul 14 22:51 .bash_logout
< -rw-r--r-- 1 preciousgift preciousgift 230 Jul 14 22:51 .bash_profile
< -rw-r--r-- 1 preciousgift preciousgift 124 Jul 14 22:51 .bashrc
< drwx------ 2 preciousgift preciousgift 4096 Jul 18 21:19 .spamassassin
< lrwxrwxrwx 1 root root 21 Jul 14 22:51 mainwebsite_cgi -> ../../var/www/cgi-bin
< lrwxrwxrwx 1 root root 18 Jul 14 22:51 mainwebsite_html -> ../../var/www/html
< -rw-r--r-- 1 root root 25 Jul 15 18:11 skins.ini
< drwxr-xr-x 2 preciousgift preciousgift 4096 Jul 29 17:45 xyiznwsk
< 226 Transfer complete.
> CWD /home/preciousgift/mainwebsite_cgi
< 250 CWD command successful
> CWD /home/preciousgift/mainwebsite_html
< 250 CWD command successful
> CWD /home/preciousgift
< 250 CWD command successful
> RMD xyiznwsk
< 250 RMD command successful
> CWD /home/preciousgift/mainwebsite_cgi
< 250 CWD command successful
> PWD
< 257 "/var/www/cgi-bin" is current directory.
> CWD /var/www/cgi-bin
< 250 CWD command successful
> PASV
< 227 Entering Passive Mode (67,19,70,146,236,217).
> TYPE A
< 200 Type set to A
> LIST -al
< 150 Opening ASCII mode data connection for file list
< drwxrwxrwx 2 preciousgift preciousgift 4096 Jul 27 18:06 .
< drwxr-xr-x 9 root root 4096 Jul 14 22:51 ..
< -rwxr-xr-x 1 preciousgift preciousgift 3629 Jul 19 19:33 cgi-lib.pl
< -rwxr-xr-x 1 preciousgift preciousgift 29217 Jul 19 19:16 formmail.cgi
< -rwxr-xr-x 1 preciousgift preciousgift 340 Jul 27 18:06 test.html
< 226 Transfer complete.