Created
August 31, 2011 20:52
-
-
Save RobSpectre/1184687 to your computer and use it in GitHub Desktop.
Parameter Shuffling in PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$number = $_REQUEST['number']; | |
echo "I received this - From: ".$number; | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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