[icecast] get status.xml's variable using a php file

Phi Tran phitran at myrealbox.com
Tue Dec 23 01:54:20 UTC 2003



i don't khow really much about php
i just used the source file from casterclub.com for the shoutcast server and
improvise/adjust it from there for the icecast server.

apparrently i don't know how to authenticate correctly as this is what is
returned as well

$client_connections = HTTP/1.0 401 Authentication Required WWW-Authenticate:
Basic realm="Icecast2 Server" You need to authenticate

fputs($fp,"GET /admin/stats.xsl ");

where do i put the $password and $username in the code above? thx

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list