Answer the question
In order to leave comments, you need to log in
How to implement sending a letter to e-mail through the form of another script?
Good day!
I have a billing system script on my site. Here is the code for its form:
<form action="" onsubmit="return bs_pay(this)" name="payform" method="post">
<div class="bt_title">2. Введите сумму:</div>
<div class="bt_invoice">
<div class="bt_invoice-header">
<div class="bt_invoice-title">
Пополнить баланс
</div>
</div>
<table width="100%">
<tr>
<td valign="middle">Внести на счёт сумму:</td>
<td style="text-align: right">
<input type="text" name="bs_summa" class="bs_input" id="bs_summa" size="3" value="{get_summ}" onkeyup="bs_topay()" />
</td>
</tr>
<tr>
<td colspan="2" style="padding-top: 5px"><button type="submit" name="submit" class="bs_button" style="width: 100%">Оплатить <span id="bs_pay">{get_summ}</span> <span id="bs_pay_currency">{module_valuta}</span></button></td>
</tr>
</table>
<div class="bs_error_msg" id="bs_error_msg" style="text-align: center; display: none"></div>
</div>
<input type="hidden" name="bs_hash" value="{hash}" />
<input type="hidden" name="bs_paysys" id="bs_paysys" />
</form>
<select>
, the value of which will be sent to the e-mail, regardless of the further actions of the script. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question