I have just tried with both absolute and relative links, both to no avail.
$id is passed through a form and snatched into a variable.
This functionality is part of a login script, which works perfectly fine.
If an id has been defined, it should redirect to overview.php?id=x instead of listing cases (list.php). Ordinary list-redirect is working without problems at all.
As mentioned, if I change the header and remove the ?id=$id part, the header works fine. This is what confuses me, pointing to the fact that something I'm doing is not valid - but I don't know what - and if so - how to fix it.
// id defined, header fails to redirect
// ** if you remove ?id=$id the redirect will work! **
$id = $_POST["redirect_case_id"];
header("Location: http://thefullurl.com/overview.php?id=$id");
// id not defined, regular redirect - no problem
header("Location: http://thefullurl.com");