Page 1 of 1

nmail.pl

Posted: Tue Mar 15, 2005 4:25 am
by Anonymous
We just started creating our website and decided to insert a feedback form where browsers can input their comments or questions about the site.
We used the codes listed in the "formmail" found in the control panel but still its not working. Here is what I did for your information.

<html><head><title></title></head><body>
FEEDBACK FORM
<form action="http://207.235.6.119/cgi-bin/nmail.pl" method="POST">
<input type=hidden name="to" value="joel_abes@wvi.org">
<input type=hidden name="redir" value="http://www.reliefstandards.org">
<input type=hidden name="subject" value="Feedback">
Name: <input name=name>

Email address: <input name=F_from>

Message: <textarea name="message" ROWS="13" COLS="75"></textarea>

<input type=submit value="Send comments to the joel">
</form></body></html>

Once we clicked the submit button, it displays "This Script can only accessed from authorised hosts. If there is a problem, contact your support representative.
Your referring host was: and the IP is (207.235.6.119)". Does anyone know how to resolve this?

Thanks,
Joel


Archived topic from Iceteks, old topic ID:3176, old post ID:25929

nmail.pl

Posted: Wed Mar 16, 2005 9:37 pm
by Red Squirrel
Hmm I don't know much about pearl. Do you have the possibility of using php? Would be much easier to impliment.

Archived topic from Iceteks, old topic ID:3176, old post ID:25965

nmail.pl

Posted: Thu Mar 17, 2005 4:59 am
by wtd
If you're using the formmail from Matt's Script Archive you should know that this is very poor and very insecure code. The creator of the archive himself has admitted as much, and has worked on updating the scripts to be simpler and more secure.

Archived topic from Iceteks, old topic ID:3176, old post ID:25975