Search found 3 matches

by mr_t
Sat Apr 02, 2005 8:53 am
Forum: Mp3 Toolbox
Topic: http authentication?
Replies: 5
Views: 9451

The weird thing is i put test.php in the same directory and it asked for authentication and printed it like it should. ---- <?php if (!isset($_SERVER['PHP_AUTH_USER'])) { header('WWW-Authenticate: Basic realm="My Realm"'); header('HTTP/1.0 401 Unauthorized'); echo 'Text to send if user hits Cancel b...
by mr_t
Fri Apr 01, 2005 3:58 pm
Forum: Mp3 Toolbox
Topic: http authentication?
Replies: 5
Views: 9451

<?php /************************************************************/ /* The First ever truely independent php broadcast solution */ /* M P 3 */ /* T O O L B O X */ /************************************************************/ /************************************************************************...
by mr_t
Fri Apr 01, 2005 12:48 pm
Forum: Mp3 Toolbox
Topic: http authentication?
Replies: 5
Views: 9451

http authentication?

Hi First, Mp3 Toolbox is great! Thanks! Second, I have a question about authertication. I'm running Debian and apache. First entry in mp3toolbox_conf.php says: --------- */ $private_server = "Yes"; --------- authlist.php is like this: ---------- */ $authuser[0] = 'admin'; $authpass[0] = 'somepass'; ...