Forum Moderators: phranque
After filling our the form you should go to either:
"oops" page or a "thanks" page
this is the script:
<INPUT TYPE="HIDDEN" NAME="submit_to" VALUE="email@example.com">
<INPUT TYPE="HIDDEN" NAME="automessage" VALUE="mymessage">
<INPUT TYPE="HIDDEN" NAME="outputfile" VALUE="form1">
<INPUT TYPE="HIDDEN" NAME="countfile" VALUE="form1">
<INPUT TYPE="HIDDEN" NAME="emailfile" VALUE="form1">
<INPUT TYPE="HIDDEN" NAME="form_id" VALUE="Multi_Lead_Application">
<INPUT TYPE="HIDDEN" NAME="ok_url"
VALUE="http://www.example.com/thanks.html">
<INPUT TYPE="HIDDEN" NAME="not_ok_url"
VALUE="http://www.example.com/oops.html">
Thank for ay help you might be able to offer!
[edited by: oilman at 5:09 pm (utc) on April 27, 2004]
[edit reason] no specific urls please [/edit]
Please follow those steps:
1. upload bnbform.cgi in your cgi-bin directory
2. chmod 755
3. please insert following
<INPUT TYPE="HIDDEN" NAME="submit_to" VALUE="email@example.com"> - OK
<INPUT TYPE="HIDDEN" NAME="automessage" VALUE="mymessage">
-put a txt file in your cgi-bin directory with name:mymessage. Rename it in cgi-bin directory to: mymessage.baut
<INPUT TYPE="HIDDEN" NAME="outputfile" VALUE="form1">
this will create a log file where you will get all information
<INPUT TYPE="HIDDEN" NAME="countfile" VALUE="form1">
this will count the number of orders submited.
<INPUT TYPE="HIDDEN" NAME="emailfile" VALUE="form1">
This file will contain only email addreses used in this form.
<INPUT TYPE="HIDDEN" NAME="form_id" VALUE="Multi_Lead_Application"> - Subject for email that will anounce that :"You have an order!"
<INPUT TYPE="HIDDEN" NAME="ok_url"
VALUE="http://www.example.com/thanks.html">
<INPUT TYPE="HIDDEN" NAME="not_ok_url"
VALUE="http://www.example.com/oops.html">
OK
NOW
Please insert following:
<INPUT TYPE="HIDDEN" NAME="data_order"
VALUE="field1, filed 2">
- you will put all fields that you will use for this form.
an exemple:
<INPUT TYPE="HIDDEN" NAME="data_order"
VALUE="name, submit_to, address, city, country and other fields that you will use in this form">
I hope you understand me, if not, You can send to me your order page and I will setup for you (free)
Best Regards
Titiu Claudiu
[edited by: oilman at 5:10 pm (utc) on April 27, 2004]
[edit reason] no sig urls please [/edit]