PHP Classes

File: start.php

Recommend this page to a friend!
  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: 19 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();
?>