Re: running CGI from a subdomain
- From: pintoamanda@xxxxxxxxxxx
- Date: 19 Dec 2005 17:31:25 -0800
Hi everyone,
Thanks so much for all your suggestions. It was actually a silly thing
- I didn't set permissions on the file to be executable! So now the
script works, in that I get to the "success page" of the form. It
doesn't however send an email to me. Here is my HTML form:
<form name="form1" method="post"
action="http://www.jiala.ca/cgi-bin/bnbform.cgi">
<p><font face="Arial, Helvetica, sans-serif"
size="2"><b>
<INPUT TYPE="HIDDEN" NAME="required"
VALUE="Age,Sex,Province,Country">
<input type="hidden" name="submit_to"
value="amanda@xxxxxxxxxxxxxxxxx">
<input type="hidden" name="form_id"
value="Restless Leg Relief Protocol Download">
<input type="hidden" name="data_order"
value="Age, Sex, Province, Country">
<input type="hidden" name="ok_url"
value="http://www.jiala.ca/restlesslegrelief/rlrp2005/protocol-thanks.htm">
<input type="hidden" name="not_ok_url"
value="http://www.jiala.ca/restlesslegrelief/rlrp2005/protocol-nothanks.htm">
<font face="Verdana, Arial, Helvetica,
sans-serif" size="3">
<input type="hidden" name="submit_by"
value="amanda@xxxxxxxxxxxxxxxxx">
Restless Leg Relief Protocol
Download</font></b></font></p>
I tried leaving the script to the default, with 'localhost' as SMTP
server. Then I tried using the SENDMAIL option instead, and used the
sendmail directory path as specified by my sysadmin. Neither works.
The thing is, I have a fairly cheapie account with this hosting
company, and they don't reply to my pleas for help! So I'm on my own
here...
One last thing. If I don't fill in all the fields, I still go to the
'ok_url' page and not the "not_ok_url" page that I want!
Amanda
--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.
HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html
.
- Follow-Ups:
- Re: running CGI from a subdomain
- From: Scott Bryce
- Re: running CGI from a subdomain
- References:
- running CGI from a subdomain
- From: pintoamanda
- Re: running CGI from a subdomain
- From: Christopher F. Falzone
- running CGI from a subdomain
- Prev by Date: Re: Premature end of script headers: cgi-bin .bat file problem with apache 2.0 on Win XP
- Next by Date: Re: running CGI from a subdomain
- Previous by thread: Re: running CGI from a subdomain
- Next by thread: Re: running CGI from a subdomain
- Index(es):
Relevant Pages
|