![]() |
Sergey Kornilov admin 4/5/2013 |
If you use a custom PHP script you can simply insert a relevant record into audit table programmatically. |
C
|
chrispa author 4/6/2013 |
If you use a custom PHP script you can simply insert a relevant record into audit table programmatically.
|
![]() |
Sergey Kornilov admin 4/6/2013 |
No, there is a specific script that you can call. However audit table structure is simple, none of fields are required and you can simply insert a free form log record there. |
C
|
chrispa author 4/9/2013 |
No, there is a specific script that you can call. However audit table structure is simple, none of fields are required and you can simply insert a free form log record there. Here is the structure of this table: id INT(11) NOT NULL AUTO_INCREMENT,datetime DATETIME NOT NULL,ip VARCHAR(40) NOT NULL,user VARCHAR(250),table VARCHAR(250),action VARCHAR(250) NOT NULL,description LONGTEXTThe fields that you need to fill are: datetime - datetime of the action, use now(), ip - ip address of the user, use $_SERVER['REMOTE_ADDR'] action - can be anything you want like "order added" or "email sent" or "custom script called" description - any additional info If you are not sure how to insert a record into audit table use DAL: http://xlinesoft.com/phprunner/docs/add.htm Note: in order to use DAL you need to add audit table to the project.
|
![]() |
Sergey Kornilov admin 4/9/2013 |
No, there isn't a script you can use. You have to write your own code for this purpose. |