...

View Full Version : Browser/PC Functions



rfresh
05-23-2008, 04:33 AM
Is there a way I can identify what PC is accessing my website? I want to create an instructional video and control (if possible) from which PC the video is accessed from? I want to license one central company to be able to run my instructional videos. I want to put the controlling info into a MySQL database and check the parameters when a user logs in.

Thanks...

abduraooft
05-23-2008, 10:37 AM
echo $_SERVER['REMOTE_ADDR']; will give you the IP address of the requesting machine

rfresh
05-23-2008, 03:42 PM
Is there any other identifying information about the PC I can determine such as the serial number of the hard drive? I know you can get that kind of info when writing a win32 application.

derzok
05-23-2008, 04:02 PM
"what user information we can get via php scripts when visit website" - http://codingforums.com/showthread.php?t=140315

"Predefined variables"
http://us.php.net/variables.predefined

And to answer your question: No, you can not get any info on their computer (outside of what browser they're using). You can get some info on their operating system if you know how to use nmap... but that takes a while (depending on what kind of probing you do) and has nothing to do with php. You could write some Activex or Java that might be able to do something like that, but once again - that's got nothing to do with php.

Inigoesdr
05-23-2008, 06:40 PM
You can get the OS from the user-agent.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum