Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Takmičenje
<?php
$len = strlen(file_get_contents("http://takprog.dms.rs/"));
while(strlen(file_get_contents("http://takprog.dms.rs/")) == $len){
sleep(60*5);
}
system("mplayer ~/Downloads/mps/Nuclear\ Alarm\ Siren\ -\ 10\ minutes\ \(World\ War\ III\).ogg");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.