strange XML data

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
User avatar
kqlz
Posts: 33
Joined: Thu Jan 17, 2002 4:43 am
Location: Pittsburgh, PA
Contact:

strange XML data

Post by kqlz »

Hello
I have 2 questions.

1st Question:
I was looking at my status.xml and seen a strange IP.

<backup>216.12.162.56:8680</backup>

I don\'t have a backup set and I can\'t see where this IP is coming from.
They are not connected and that ip:port is a Shoutcast server

2nd Question:
When I try using Jays XML Parser I can get all of the data but:

Code: Select all

echo $val[\'UNIQUE_NODES\'];
echo $val[\'TOTAL_NODES\']; 
echo $val[\'NODES\'];
echo $val[\'MAX_NODES\'];
Now this only happens about 10% of the time.
90% of the time I can get the stats without a problem.

Any ideas?


Thanks
John
Thanks!
John
http://www.kqlz.org
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

backup locations are obtained from the SHOUTcast directory, so someone publically relayed you.

My listtle script hasn't been messed with in a while so maybe there is a small bug with it. a snapshot of the XML doc when this occurs would help though.
- Jay
Post Reply