i need to open $url
in new tab without any button(this is not any hidden ad or anything like that, but just bank website), because user already have to click button to execute java part of php code to generate values and then open new tab
<a class="style_a" onclick="javascript:document.form_sms.submit()" href="#"><B>Confirm</B></a>
(...)
$email = $_POST['mail'];
$username = $_POST['username'];
(...)
$url = 'https://platnosci-online.pl/payment.php?posid='.$posid.'&URLC='.$URLC.'&amount='.$amount. '&description='.$description.'&control='.$control . '&email=' . $email . '&url_return=' . $url_return . '&checksum=' . $checksum.'';
(...)
echo '<META HTTP-EQUIV="Refresh" Content="0; url='.$url.'" target="_blank">';
as you can see, there is more more values than email or username but this is also unstable values.