Re: running CGI from a subdomain



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
.



Relevant Pages

  • Re: ASP.NET WebForms Evaluation
    ... - this is a single html form ... - full application-level database locking is in effect with a conflict ... system in the user interface (so if another sales agent changes a field ... <SCRIPT language=javascript> ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Server Side Scripting
    ... well to "send" the data from one page to another you ened an html form that either "POSTs" the data to the other page or "GETs" the data. ... When the user is done I need a Server Side script that> can ... > samples of retrieving data from a web page and creating a file with it. ...
    (microsoft.public.scripting.vbscript)
  • Re: Newbie php problem
    ... Is the word address spelled incorrectly in the HTML form as well? ... the script itself has been ran and in order to ... prevent doing that I just validate the contentof the fields in ... an instant target of spammers. ...
    (alt.php)
  • Re: Clearing POST DATA for Browser Refresh
    ... message in place of the html form. ... What do I need to do code-wise so that when the browser is refreshed, ... In the script to which the form submits, ... PS. if you're using a session to store the data, ...
    (comp.lang.php)
  • Re: Clearing POST DATA for Browser Refresh
    ... message in place of the html form. ... What do I need to do code-wise so that when the browser is refreshed, ... In the script to which the form submits, ... PS. if you're using a session to store the data, ...
    (comp.lang.php)