Skip to content

Instantly share code, notes, and snippets.

@RobSpectre
Created August 31, 2011 20:52
Show Gist options
  • Save RobSpectre/1184687 to your computer and use it in GitHub Desktop.
Save RobSpectre/1184687 to your computer and use it in GitHub Desktop.
Parameter Shuffling in PHP
<?php
$number = $_REQUEST['number'];
echo "I received this - From: ".$number;
?>
<?php
$number = $_REQUEST['From'];
?>
<Response>
<Say>I am sending you to another script now.</Say>
<Redirect>http://path/to/a.php?From=<?php echo $number; ?></Redirect>
</Response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment