Hi,
You can use cUrl to send data via POST from php to an url address, and then to get the response.
You can find on the net details about cUrl.
Or, you can add the value of $un into a SESSION, then, in client_view.php you get that value from SESSION.