Does codeigniter has a function to ping :) |
[eluser]Unknown[/eluser]
hi , I've built a big website and now asked to built statistics and user monitoring system , The system will be on a separate domain so what i know is sending data to it would be through iframe consider site is x.com and the monitor is y.com for example i want toi report a userlogin in x.com i will do Code: <iframe src"y.com/index.php/monitor/watch/3/login" ></iframe> where 3 is user_id and login is the action is there any other method ?
[eluser]anthony_d_mays[/eluser]
This may be off topic; however, CodeIgniter has a function called log_message() - See Guide Error Handling. log_message(...) will allow you to write out all kinds of messages including logins. I use the function in my website for tossing errors to logs during development; but, I also use to build log files for nagios consumption. Good luck.
[eluser]ivantcholakov[/eluser]
http://net.tutsplus.com/tutorials/php/wo...igniter-2/ Ammendment: At least get this library: https://github.com/philsturgeon/codeigniter-curl It makes easier coding the job about web request/response between the servers x.com and y.com. Implement authentication, it is required. |
Welcome Guest, Not a member yet? Register Sign In |