firefighting Posted February 12, 2009 Posted February 12, 2009 W2k3 server ; redirected desktop I am putting together a script to send an email from the desktop. I have a link which opens a PHP web page on a web server. The user just types in a message and clicks "Submit". Is there a way to find out the user that is logged in and place the name in my web page? TIA
Arcath Posted February 12, 2009 Posted February 12, 2009 Im not aware of any way to get PHP to pick up on the currently logged in user. not sure if theres a better way, or if you can put the current user into the desktop, you might have to make a script to make the shortcut that make it go to: form.php?user=<> you could even add "&pc=<>" to make it put the PC in aswell. the two values would then be passed as $_GET values 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now