Created
          November 29, 2014 01:34 
        
      - 
      
- 
        Save steve-todorov/ff8ebe614c8ef7e9e611 to your computer and use it in GitHub Desktop. 
    play-radio.php
  
        
  
    
      This file contains hidden or 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 | |
| set_time_limit(-1); | |
| $url = 'http://pub1.di.fm:80/di_chillstep_aac?bf3465a6e064e83f'; | |
| header("Content-type: audio/mpeg"); | |
| $handle = fopen($url, "r"); | |
| while($buffer = stream_get_contents($handle, 4096)) { | |
| echo $buffer; | |
| } | |
| fclose($handle); | |
| ?> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment