1 2 3 4
#!/bin/sh set -x php -S localhost:8002 -t `pwd`
1 2 3 4 5 6 7
#!/bin/sh set -x curl localhost:8002/randomizer.php curl localhost:8002/links.html curl -L localhost:8002/redirector.php curl localhost:8002/links.html
1
1 2
<?php echo rand() ?>
<?php header('location: links.html'); ?>