[ create a new paste ] login | about

Link: http://codepad.org/Bq1Gt30s    [ raw code | output | fork ]

PHP, pasted on Aug 29:
1
2
3
4
5
6
7
8
9
<?php

$string = "submissions.php?department=Settings,%20Security%20&%20Payments";
$decoded = urldecode($string);

echo "Original string: $string\n";
echo "Decoded string: $decoded\n";

?>


Output:
1
2
Original string: submissions.php?department=Settings,%20Security%20&%20Payments
Decoded string: submissions.php?department=Settings, Security & Payments


Create a new paste based on this one


Comments: