Jump to content
php.lv forumi

$_SERVER['REMOTE_USER']


anonīms

Recommended Posts

Tas ir servera puses mainīgais. Ja lietotājs nepadod to vērtību caur kaut kādu cepumu, vai citu pieprasījuma mainīgo(POST, GET), kā gan serveris zinās, kas tad veic to pieprasījumu...

 

Padomā, es ielogojos windowsā. Pa kādu ceļu varētu nonākt mana login informācija līdz serverim?

 

P.S. Varbūt vērts pagūglēt par LDAP...

Edited by briedis
Link to comment
Share on other sites

ldap jau ir uzlikts.

 

In case of CGI/FastCGI you would hot be able to access PHP_AUTH* info because CGI protocol does not declare such variables (that is why their names start from PHP) and server would not pass them to the interpreter

:( ziņošu par turmpāko. Piemirsās, ka ir cgi

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...