Hello all,

One of the sites I host is a radio station. Their computer has been setup to
automagically upload the current song and the next song to their web site
via FTP. Unfortunately, the format it comes in is pretty awful. (See below).
<tag>
The CURRENT CutID is: 70428
The Type is: MUS
The ArtistName is: Nena
The SongTitle is: 99 Luft Balloons (German)
The Duration is: 00:03:48
</tag>

What I would like to know how to do is extract the relevant info (everything
after the : for instance) and manipulate it, possibly as a variable so that
$ArtistName=Nena for instance.

I've looked through the php.net manual for fgets and such, but no luck.

Thanks in advance,
Lance



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to