Jump to content

can we access system name (user name)...can anybody help me


vji

Recommended Posts

Hello friends,
hi, this is vijay from india. i'm a fresher in PHP field. i have some doubts..

we can access system time, then why dont we use system name and display it in web page when that perticular user open our web page...

i mean with out user interaction, can we access his name from his P.C
( i think it may available in start menu)...

hope i get some responce from your side..........

kind regards,
vijay
Link to comment
Share on other sites

Dear Barand
its a quesion. and i tried to implement it, but i failed.
so, i posted this in many forums...

what i mean is " when we logged in to yahoo inbox, we can see [b]WELCOME to VIJAY[/b] . like wise with out any user ineraction, can we access the current user profile?

regards,
vijay
Link to comment
Share on other sites

No. He just has some sort of place where users can log in, and he want THAT username to be displayed. That is easy to do, but you will need to give us some code so we can show you how to implement it.

I guess that you through ActiveX could display the Windows username, but that makes problems for some users:
1. People who do not use Internet Explorer
2. People who do not use Windows
Link to comment
Share on other sites

PHP runs on the server, not on the client PC, so when it gets systems time, it is the time on the server. Also, for that reason, it cannot see the name in the start menu on your pc.

Are you talking about in [b]internet[/b] application where members log in (like this board) or are you talking about a company [b]intranet[/b] where all users have logged into the network?
Link to comment
Share on other sites

dear Barand,
yes, PHP runs on the server, not on the client PC.
but when user opens a webpage, that means a client side script is executed on web browser, and it may takes system name any where from the client system.
let us try to implement this[i]....(humans can implement any thisng)[/i]
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.