I'm looking to forward any variables passed to my script onto another script in a header.
The problem is that I wont know the names or values of the variables being posted to my script.Code:header("Location:http://www.domain.com/index.php?name1=$value1");
Is there a way to get the variable names and values from $_POST and add them to the header URL?
Remember that I will also not know the number of variables being posted and therefore maybe a loop will be needed.
Thanks for any help,