At 14:22 26.02.2003, Oliver Witt spoke out and said:
--------------------[snip]--------------------
>if(isset($user) && isset($pw)){
>$user = ucwords(strtolower($user));
>$PHP_AUTH_USER = $user;
>$PHP_AUTH_PW = $pw;}
>
>[more...]
>And this works fine for just this page. Whenever I click on a link to a page
>which includes the same file though, it echoes 'unauthorized'...
--------------------[snip]--------------------

Sounds like you're using sessions... perhaps register_globals is off in
your environment, so session variables are not registered? How do you set
the "$user" and "$pw" variables?
 

-- 
   >O Ernest E. Vogelsinger 
   (\) ICQ #13394035 
    ^ http://www.vogelsinger.at/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to