FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PHP: monitor computer activities





macky
Hi guys good day!

I've recently had this problem. I've search for almost a week but i think the keywords i used to google it is wrong so i decided to ask this one. I know python works better for this matter but let's stick to php.

Is it possible to monitor computer activities using php? If yes, what function or scripts should i used in php. It almost like you can monitor what apps she/he been used at the specific time or even what sites she/he was viewed.

Example:

11:30 am -> Gedit
11:32 am -> Mozilla Firefox
11:44 am -> http://www.frihost.com

My purpose of this is just to see the capability of the php if ever, since one of my professor said that it is possible.. Thanks in advance.. Smile
jmraker
If you're trying to log program execution you'd have to make a php program like

Code:
<?php

$pgm = '';
for($a = 1;$a < $argc;$a++)
  $pgm .= ' ' . $argv[$a];
$out = fopen("c:/log.txt", 'a');
fwrite($out, strftime("%I:%M $P") . ' -> ' . $pgm);
fclose($out)
system($pgm);

?>


and change the program shortcuts to call the php script. I guess it could be possible to do the same thing by going into the registry and mess with the .exe handler (where a mistake could mean windows can't run anything)

For the website tracking I guess you you could do it with a proxy server where the php program handles every request. The log could contain all the css, javascript, ajax requests, etc, not just the url they entered
macky
i see okay.. great idea.. i also adopth and get some idea from you.. thanks a lot... i would love and prefer to see some real action.. hehehhee...
Related topics
your specs
Computer + Monitor + Router For SALE!
Curso PHP-NUKE de Computer Hoy
is mutiple login in windows XP simultaneously possible?
New Keybord !!
Teaching English Abroad
Last day of high school ever...need prank ideas!
Nepal no more a HINDU country
Big Brother's Most Reliable Secret Weapon
PHP and MYSQL on the computer
Computer powers on, but no Monitor Signal
How to set up wifi network?
facebook...!
LCD monitor blinks while off
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.