well correct me if im wrong cos as i say i've only been at this PHP thing for a couple of days but as far as i can understand it the register_globals option automatically sets up global variables named after the items in the super global variable arrays duch as $_SERVER, $_POST, etc, PHP_AUTH_USER is a member of the $_SERVER superglobal i.e. $_SERVER['PHP_AUTH_USER'] and needs to be refered to as such unless the register_globals option is set in the ini file.
...
Anyway replacing the refernces to PHP_AUTH_USER with $_SERVER['PHP_AUTH_USER'] is the only way i could get the script to authenticate and connect to shoutcast. But then i get the problem i outlined in my original post.

Do not PM me for tech support !
|