Yes. Go to the variables tab. Add a variable, give it a name and set it as passback.
How do I access the variable in PHP in my redirected page? My example is variable name “test1″, value=”%document_number%”, behavior=”Passback”. Do I use $test1, or $_GET[‘test1’], or $_POST[‘test1’], or what?
I just saw it in the URL. Is that the only place or will one of the Super Globals I mentioned above work?
Answered my own question with some testing. $_REQUEST[“test1”] and $_GET[“test1”] both work.
Also, for debugging I found this to be extremely helpful:
<?php phpinfo(32); ?>
This prints out all the “PHP Variables”!
Yes, you are correct. It is better to use $_GET than post. Also be sure to sanatize and validate that URL parameter as it is easily editable.