Welcome Guest, Not a member yet? Register   Sign In
Using $_POST at the model
#4

[eluser]urrus[/eluser]
Yep, put $_POST in controller it more appropriate for MVC. But in this case I some how mix up $_POST with a $_SERVER (it because I catch a could, and really hot now). And I'm crating small sub system that tracked how many time user spend at the current web page, so I need some part of code I could put everywhere.

My algorithm has two main parts, first one is check time when PHP scripts run. Second is to send Ajax request on onClose event.

May be You have advises how to do it best?


Messages In This Thread
Using $_POST at the model - by El Forum - 08-12-2009, 06:05 AM
Using $_POST at the model - by El Forum - 08-12-2009, 06:14 AM
Using $_POST at the model - by El Forum - 08-12-2009, 11:04 AM
Using $_POST at the model - by El Forum - 08-12-2009, 11:27 AM
Using $_POST at the model - by El Forum - 08-12-2009, 12:32 PM
Using $_POST at the model - by El Forum - 08-12-2009, 01:54 PM
Using $_POST at the model - by El Forum - 08-12-2009, 03:01 PM
Using $_POST at the model - by El Forum - 08-12-2009, 03:38 PM
Using $_POST at the model - by El Forum - 08-13-2009, 06:41 AM
Using $_POST at the model - by El Forum - 08-13-2009, 10:32 AM
Using $_POST at the model - by El Forum - 08-14-2009, 12:47 AM
Using $_POST at the model - by El Forum - 08-14-2009, 01:02 AM
Using $_POST at the model - by El Forum - 08-14-2009, 01:58 AM
Using $_POST at the model - by El Forum - 08-14-2009, 02:17 AM
Using $_POST at the model - by El Forum - 08-14-2009, 02:21 AM
Using $_POST at the model - by El Forum - 08-14-2009, 02:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB