Created
September 21, 2011 00:06
-
-
Save koriym/1230790 to your computer and use it in GitHub Desktop.
Download voice of elePHPant interview files.
This file contains 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 | |
for ($i = 1; $i < 36; $i++) { | |
$filename = "vote_" . sprintf("%03d", $i) . '.mp3'; | |
echo "$filename."; | |
$a = file_get_contents("http://voices.of.the.elephpant.s3.amazonaws.com/{$filename}"); | |
file_put_contents($filename, $a); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment