-1
使用PHP $ _GET
我有以下的PHP代碼,用來確認從網站授權令牌哪裏我'調用API如何ColdFusion的
<html>
<title>EasyPay confirm</title>
<body>
<div class="clear"></div>
<div align="center">
<img src="images/wait.gif"></img>
</div>
<form action="https://easypaystg.easypaisa.com.pk/easypay/Confirm.jsf " method="POST" id="easyPayAuthForm">
<input name="auth_token" value="<?php echo $_GET['auth_token'] ?>" >
<input name="postBackURL" value="http://shopweb.windsorparking.com/php/index.php" hidden = "true"/>
<input value="confirm" type = "submit" name= "pay"/>
</form>
</body>
<script>
(function() {
document.getElementById("easyPayAuthForm").submit();
})();
</script>
<html>
,我想唯一的部分CHANE到ColdFusion的是
<input name="auth_token" value="<?php echo $_GET['auth_token'] ?>" >
任何想法如何把它做
的[ColdFusion的:按名稱獲取URL參數]可能的複製(https://stackoverflow.com/questions/18022195/coldfusion-get-url-parameter-by-name) – Ivar