【发布时间】:2017-12-04 20:00:40
【问题描述】:
好吧,也许解释得不好,但我有这个:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="<?php echo $output['Private']; ?>">
<input type="hidden" name="return" value="http://MYWEBSITE/index.php?code=succes&bruh=<?php echo $userid; ?>&money=">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Topup">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="bn" value="PP-BuyNowBF:Buy%20Now%20Button.png:NonHostedGuest">
<table>
<tbody><tr><td><input type="hidden" name="on0" value="TopUp_amounth">How much?</td></tr><tr><td><input type="text" name="amount" maxlength="200">$</td></tr>
</tbody></table>
<input type="submit" value="Top Up" name="submit">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
现在我想要一种方法来获取他们将“TopUp_amounth”插入返回 url 的内容。 TopUp_amount的人可以自行选择。但我希望它能够返回url。我该怎么做?
【问题讨论】:
标签: javascript php html paypal