Forum Moderators: coopster

Message Too Old, No Replies

schedule or radio guide

         

markfox

8:20 am on Aug 6, 2004 (gmt 0)

10+ Year Member



Greetings,

I am planning to launch a online internet radio site using Live365 streaming, i have designed my site in php. The site lacks a schedule which i do not want to have to manually change offline and edit. I have seen a few sites that have a schedule script that calls something like schedule.php?day=7 and then it would display maybe the content of day7.txt. I am just looking for something very simple that would let me add a programme listing to the schedule for a particular day using some sort of form. The form should be as simple as just entering the day and time of the listing and then it should put the listing in the schedule and put it in the correct place, i should also be able to remove listings and edit listings. I dont want to use MySQL or any database and would just like to stick to flat-text file databases

<snip> ...any suggestions <snip> would be very much appreciated.

[edited by: coopster at 2:39 pm (utc) on Aug. 6, 2004]
[edit reason] no solicitations please [/edit]

WhosAWhata

10:14 pm on Aug 6, 2004 (gmt 0)

10+ Year Member



sure just make a folder called like days/
then do like
1.txt

song number 1
song number 2
song number 3

then do a
$list = file_get_contents("days/1.txt");
$song = explode("\n",$list);

now $song is an array of songs