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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
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@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
yeah.. can u send it to me? thx a lot <p>----- Original Message ----- From: "Adon Irani" <adon@yorku.ca> To: <icecast@xiph.org> Sent: Monday, December 22, 2003 7:59 PM Subject: Re: [icecast] get status.xml's variable using a php file <p>>> 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 serverand> > improvise/adjust it from there for the icecast server. > > > > apparrently i don't know how to authenticate correctly as this is whatis> > returned as well > > > > $client_connections = HTTP/1.0 401 Authentication RequiredWWW-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@xiph.org'> > containing only the word 'unsubscribe' in the body. No subject isneeded.> > 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@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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.