Login   Register  
PHP Classes
elePHPant
Icontem

File: start.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Rahman Haghparast  >  Radio  >  start.php  >  Download  
File: start.php
Role: Example script
Content type: text/plain
Description: a sample php file to run the class !
Class: Radio
Create an online radio for serving music playlists
Author: By
Last change:
Date: 9 years ago
Size: 238 bytes
 

Contents

Class file image Download
<?php
include "radio.class.php";
$playlist=array("http://localhost/radio/1.wma","http://localhost/radio/2.wma","http://localhost/radio/3.wma");
$radio=new music;
$radio->format="wma";
$radio->playlist=$playlist;
$radio->Start();
?>