i have a problem with this code. I wanted to add the values of the parameters at the beginning to the URL entered in the code.
i already tried confirmation.php?username=$username
added the ?username=$_GET[username]
but the Url in the browser is displayed like it's written in the php file and the values are not replaced with parameters.
<?php $amount = $_GET['amount']; $title = $_GET['title']; $auth = $_GET['auth']; $country = $_GET['country']; $currency = $_GET['currency']; $free = $_GET['free']; $function = $_GET['function']; $username = $_GET['$username']; $group = $_GET['group']; $groupexpiry = $_GET['groupexpiry']; $adminemail = $_GET['adminemail']; $trenner = "\n"; $status = 'ok'; $url = 'http://www.mypage.com/confirmation.php? .....'; $target = '_blank'; $forward = 1; $response = 'status=' . $status; $response.= $trenner; $response.= 'url=' . $url; $response.= $trenner; $response.= 'target=' . $target; $response.= $trenner; $response.= 'forward=' . $forward; echo $response; ?>
can someone help me out, to get it working?
thanks in advance