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="[EMAIL PROTECTED]">
>                     <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

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to