summaryrefslogtreecommitdiff
path: root/urlencode.php
blob: 53ffec86f89874b306a9cbcba06d7a0ba5d3dcb3 (plain)
1
2
3
4
5
#!/usr/bin/php -n
<?php

$contents = file_get_contents('php://stdin');
echo urlencode($contents);