$pieces[0], 'last_name' => $last_name, 'email' => $_POST['email'], 'phone' => $_POST['phone'], 'ticket_problem_type' => $_POST['problem'], 'city' => $_POST['city'], 'ticket_subject' => $_POST['device'] . " Pri: " . $_POST['priority'], ))); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $server_output = curl_exec ($ch); curl_close ($ch); //redirect to thanks page header("Location: /thanks.html"); exit(); } ?>
Name:
Email:
Phone:
Message: