Forum Moderators: coopster

Message Too Old, No Replies

automatic authentication using php

         

DeMoss

4:08 am on Feb 15, 2005 (gmt 0)

10+ Year Member



I have an internet radio station that uses shoutcast server. In the admin section there is a link to kick the stream. The problem is that I don't want to give out my password to all of my Dj's for obvious reasons. I was wondering if there is a way that I can use php to trigger the link using the login information without the user seeing it.

Normally when I click the admin link a box pops up asking for username and password.

the target of the kick source link looks like this
[myserver.com:8000...]

the only other option I have is to give out the password and change it if a problem presents itself.

jatar_k

5:21 pm on Feb 16, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



the only thing that really comes to mind is using a socket or cURL

DeMoss

9:35 pm on Feb 16, 2005 (gmt 0)

10+ Year Member



My biggest problem in trying to circumvent this is that to see the admin login you have to make the request via port 8000 by typing in [mydomain.com:8000...] but when I look at the directory via ftp I cannot find the files associated with it. I don't understand how this works. My guess is that the system admin who installed the shoutcast server has some type of configuration for the server software he is using that directs requests from the 8000 port to a directory not accessable by my ftp client.