Passing values via $insertGoTo?
Hello all,
I am using the canonical Dreamweaver/PHP construct to direct to another php page upon submit.
$insertGoTo = "confirm_submission.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
Is it possible to pass additional values to the "confirm_submission.php" page? I know how to do this using a regular URL GET method. Doing so with the above construct is a bit less clear.
I neglected to mention that these are form variables that I am interested in passing.
Thanks!
Message was edited by: ByteSmythe (added clarity regarding form variables)
