Jump to content

Archived

This topic is now archived and is closed to further replies.

vji

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

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

Share this post


Link to post
Share on other sites
Do you have a question, or is this a debate, in which case I'll move it to the Miscellaneous forum?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
oh! i get what he means.. hes trying to ask f theres a way to show the current windows username on a web page. idk if u can ...

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Dear Daniel,
you'r correct, now a days many people using open source O.S....
but some part of users still using Windows...atleast for that users why dont we implement this?
~ vijay

Share this post


Link to post
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?

Share this post


Link to post
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]

Share this post


Link to post
Share on other sites
[quote]let us try to implement this....[/quote]

Maybe you try and let us know how you go.

Share this post


Link to post
Share on other sites
Dear thorpe,
i'm a fresher in PHP, i know php from just 2mnths back, and in this forum there are lot programers and developers, thats why i asked help...

~ Vijay

Share this post


Link to post
Share on other sites

×

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.