Hello,
Does anybody have any ideas why the code below is giving me internal server errors?
if (!isset($PHP_AUTH_USER)) {
header('WWW-Authenticate: Basic realm="XYZ Company Admin Area"');
header('HTTP/1.0 401 Unauthorized');
echo 'Authorization Required.';
exit;
} else if (isset($PHP_AUTH_U
Thanks so much guys,
It was my user permissions all along. Funnily enough the book
gives you guidelines on how to set them up, and sets up a fair
few... but for some reason they selected the wrong user to use.
Thanks very much for your help David and Brian- much appreciated.
Yours,
GF
Hiya,
Thanks for the quick reply. I used the PHP manual example and it connects
to the database successfully but cannot select the database.
I'm not sure why this is? I've looked hard at it and I cannot see where I have
gone wrong.
Thanks.
GF.
- Original Message -
From: David Jack
3 matches
Mail list logo