| Wiggins d'Anconia 2005-09-23, 6:55 pm |
| Edgardo Lust wrote:
> Hi.
>
> I have a html file (created with Dreamweaver) with one form and submit
> button with
>
> <form method="POST" action="/cgi-bin/contact.pl" onSubmit="return
> check_form(this)">
> <input type="hidden" name="success"
> value="/contacto/message.htm">
> <input type="hidden" name="required-to"
> value="user@example.com">
> <input type="hidden" name="subject" value="-- NEW
> CONTACT --">
>
> I need my perl script to return a valid value then the user can see
> message.htm page
>
>
> How can I do?
>
> Thanks
>
> Edgardo
>
>
What do you mean by return a valid value? You can either redirect to
message.htm or read it in and return the contents.
As a side note the above is basically an open relay, depending on your
other form fields a specially crafted message can probably be used to
send an e-mail to anyone.
http://danconia.org
|