/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$this->data['Comment']['ip'] = $_SERVER['REMOTE_ADDR']; $this->data['Comment']['agent'] = $_SERVER['HTTP_USER_AGENT'];