Jump to content

Accessing a DOS variable


jayR

Recommended Posts

There is a variable I can access from the dos promt that is called %nwusername% and it returns the novell username of the person currently logged into the system. Is there a way I can access that variable so that I can record the username of who is accessing my company's intranet page? I've looked around but found nothing. Thanks in advance.
Link to comment
Share on other sites

The thing is that multiple people can share computers, so they have the same IP address. If I could log their Novell username it would let us see who specifically accessed the page, not just which machine.
Link to comment
Share on other sites

You should be able to get this infomation through COM. However this really is more a windows thing, php just provides the COM interface. You would probably find more help on a MS developers site.

Beware though, COM is an absolute mess.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • 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.