|
|
#1 |
|
Junior Member
Join Date: Oct 2005
Posts: 2
|
Getting the stream title through PHP
I shearched the forums and found an exampe PHP code that someone posted here for creating a "Now Playing" banner.
I modifyed the code for my use, but I couldn't find how to get the "Stream Tilte" so I will be happy if somone could help me wuith that. Thanks, Ilia. |
|
|
|
|
|
#2 |
|
Forum King
|
I would guess that the stream title would come from the index.html:
$servertitle = ereg_replace("</b></td>.*", "", ereg_replace(".*Stream Title: </font></td><td><font class=default><b>", "", $page)); $page is the string var. containing index.html, and there is a single space " " between Title: and </font> |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2005
Posts: 2
|
Thanks man, unfortunetly it is not in the 7.html file so I had a double job
Thanks anyway |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|