from checking other posts you've made-
it's this form?
http://www.cedarsprings.cc/sunset/contact_us.htm
this line in the script:
$referers = array("boaddrink.com","216.92.77.123");
should be like this in this case:
$referers = array("cedarsprings.cc","sympatico.ca");
ON LOOKING AT THE FORM PAGE SOURCE_ THIS BELOW IS THE PROBLEM___
each form element is in it's OWN set of form tags- a common problem for
those using the lousy Layout Mode and making forms. All your submit button
does is submit Itself- not the other form elements. They are in Other forms.
So there is NO recipient field being sent.
<form name="form3" method="post" action="">
<input name="email" type="text" id="email" size="50">
</form>
ALL of your form needs to be within ONE pair of form tags.
All within one of the red rectangles dw uses as a Visual Aid.
quick fix-
do a find in source in the page for this:
</?form[^>]*>
Replace with: (nothing- leave empty)
Put a checkmark in Use Regular Expressions.
Now- in source, below the opening <body> tag, put this:
<form action="cgi-bin/formmail.php" method="get" enctype="text/plain"
name="contact_us" id="contact_us">
and above the closing </body> tag, put this: </form>
Quote:
I must be the thickest plank out here as I cannot figure out PHPFormail. I
think I finally have the recipients thing figured out but I have got the
message "You are coming from an unauthorized domain" apearing now. I have
inserted the domain of the web server that the site is hosted on and the
domain
of the recipient in the $referers array but am stumped. Obviuosly you can tell
I am totally new to this.
Any help would be appreciated.
Thanks |