Login | Register | FAQ
Anonymous

Помогите новичку

+ Post a reply

8 posts Page 1 of 1


Помогите новичку

by Enamy » Sat Dec 17, 2016 4:52 pm

Доброго времени суток, товарищи профи помогите новичку, перерыл весь гугл, хоть убей не могу найти решение моей проблемы.
У меня есть скрипт html внутри PHP файла, что в принципе не важно. я задаю в части по хтмл параметры input и select которые пользователь вводит на сайте, далее мне надо создать в этом же файле переменную которая кодируется в MD5 и содержит то что пользователь ввел в эти параметры input и select. Т.е. мне надо конкретно внутри самого файла взять параметры значений name, не переходя никуда более ни в какие другие файлы, не передавая данные в другие файлы методами пост и гет, а именно использовать их внутри текущего файла.

<html>
<body>

<select name="gold"> - тут выбор value поместится в name(gold)

<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>

<?php
$mrh_login = "shop";

$out_summ = ? ; - а тут мне надо значение из этого name поместить в эту переменную.

$inv_id = 0;
$mrh_pass1 = "pass1";

$crc = md5("$mrh_login:$out_summ:$inv_id:$ mrh_pass1");
?>

<input type="hidden" name="MerchantLogin" value="<?php echo $mrh_login;?>"/>
<input type="hidden" name="InvId" value="<?php echo $inv_id;?>"/>
<input type="hidden" name="OutSum" value="<?php echo $out_summ;?>"/>
<input type="hidden" name="SignatureValue" value="<?php echo $crc;?>"/>
<input type=submit value=Ok>
</body>
</html>
User avatar

Enamy

  • Posts: 4
  • Joined: Sat Dec 17, 2016 4:51 pm

Re: Помогите новичку

by unearthy » Sun Aug 20, 2017 3:59 am

Пользуйся jQuery, лучше адоптирован под такие ситуации.
е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260
е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260
е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260
е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260
е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260
е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260
е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260е260
е260е260е260е260е260е260е260е260е260е260е260е260е260
восстановление зренияn79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79n79
User avatar

unearthy

  • Posts: 1
  • Joined: Sun Aug 20, 2017 3:53 am

Re: Помогите новичку

by tunasbola » Tue Oct 30, 2018 7:13 am

agen poker online
sbobet
http://199.192.20.74
icetuna
https://score88poker742350190.wordpress.com
User avatar

tunasbola

  • Posts: 1
  • Joined: Tue Oct 30, 2018 7:12 am

Re: Помогите новичку

by seputarbolaku » Wed Dec 05, 2018 5:38 am

Information About Ball

Situs Bola Terupdate
Situs Berita Bola
Prediksi Skor Bola
User avatar

seputarbolaku

  • Posts: 1
  • Joined: Wed Dec 05, 2018 5:35 am

dgrpquau

by bad credit car » Sun Dec 16, 2018 8:17 pm

bad credit car loans
User avatar

bad credit car

  • Posts: 2
  • Joined: Tue Dec 04, 2018 12:39 am

wzgqccai

by subprime auto loans » Tue Dec 18, 2018 12:39 am

best car loans
User avatar

subprime auto loans

  • Posts: 1
  • Joined: Tue Dec 18, 2018 12:38 am

gbxvfjqk

by finance a car » Tue Dec 18, 2018 3:42 pm

car loans
User avatar

finance a car

  • Posts: 1
  • Joined: Tue Dec 18, 2018 3:41 pm

khgnorqd

by best auto loan rates » Wed Dec 19, 2018 1:22 am

car loans for bad credit
User avatar

best auto loan rates

  • Posts: 1
  • Joined: Wed Dec 19, 2018 1:22 am


+ Post a reply

Page 1 of 1