I have an application to POST data to my webpage. My webpage should use POSTed data to generate a link with parameters and open it.
My webpage has these PHP codes
if(isset($_POST['name']) && isset($_POST['surname']))
{
$name = $_POST['name'];
$surname = $_POST['surname'];
header('Location: http://localhost/smcreader/tktest.php?name=' . $name . '&surname=' . $surname);
}
My problem is it won't open generated URL. I replace header
with echo
and add MessageBox.Show(response_stuff)
to my app to show response message. It response normally, STATUS is OK, and the response message is a generated link.