Re: Authorization and...
| From: | Robert Ludvik | Date: | Wed, 06 Dec 2000 21:34:45 +0000 |
| Subject: | Re: Authorization and... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-28994@lists.php.net to get a copy of this message | ||
> well copy that code to all those pages :) make sense ?
this means that it will check for username and passwd for every additional site
- 20 sites => 20 checkings to db. i thought of that but it seems a waste of
resources (time?) to me.
> if your using
> $PHP_AUTH_USER
> $PHP_AUTH_PW
> those variables will be automatically carried to all the pages, just
> check if their correct. I do this method, it works great,
i've read Chapter 16. in PHP Manual - could work :)
> else print
> echo "Hey dumbass get it together";
> exit();
:))
thnx