[PHP] Correct code ?? PHP Basic pw athentication with mysql

2009-07-27 Thread Jason Guritz
I cant seem to get this to work. Any ideas?? And If I have post this to the wrong area.. My sincere apologies! Thank you in advance! Jason ?php if (!isset($_SERVER['PHP_AUTH_USER'])) { header('WWW-Authenticate: Basic realm=My realm'); header(HTTP/1.0 401 Unauthorized); echo

Re: [PHP] Correct code ?? PHP Basic pw athentication with mysql

2009-07-27 Thread Jim Lucas
Jason Guritz wrote: I cant seem to get this to work. Any ideas?? And If I have post this to the wrong area.. My sincere apologies! Thank you in advance! Jason ?php if ( !isset($_SERVER['PHP_AUTH_USER']) ) { header('WWW-Authenticate: Basic realm=My realm'); header(HTTP/1.0