Jump to content

Nasten

New Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Nasten's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank for your help, exec command works fine, if i use a roaming profile. i hope you all stay well.
  2. Server is win2016, i run apache with xampp. IIS (?). The command did not work :/. I do not even like a new authentification with ldap, i just would like to display the name od the current active user account.
  3. I did try some diffrent things with php, : <?php $username = getenv('USERNAME') ;//?: getenv('USER'); echo $username."<br />"; print shell_exec( '%username%' )."<br />"; $test= get_current_user(); echo $test; ?> first will just print out the Computer name, second prints "System".
  4. edit: empty sry mobile phone made problems
  5. Yeah i just want to get the Name off the current active user account which is signed in. I only got the computer name so far, but that's not what iam aiming for. I will look into your advice these days thanks, to you both.
  6. Hi, iam pretty new and have made a forum style page for intern project display. ATM i use a standard php loginscript, just so i can add the author of the text. But as you can imagine thats pretty inconvinient. Is their a way to get the username from my roaming profil or from the current AD user (dont need to auth, just so i can add my nameunder post, like i login on windows with username "Heinz", and write a post on my side, so he can take the username "Heinz" and display it beneth the post? iam pretty clueless where to start looking, would you be so nice and provide me some topic/hints to give me a push in the right direction. Sry if my english is..... a bit rubbish. i greatfull for all your time sincerly Nasten
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.