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

Adon Irani adon at yorku.ca
Tue Dec 23 01:59:04 UTC 2003



hello Phi ., what operating system are you developing under ? if you are
using linux, i would be happy to send you my simple scripts ( as you
requested ). but they rely on lynx and grep . i don't know if windows has
equivalents.

 a:/,

On Mon, 22 Dec 2003, Phi Tran wrote:

> 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
>
>
>
> --- >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.
>
--- >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