I would like to capture the IP Address from the contact form. I searched the forum and found a vqmod for a better contact form but it's not compatible with 1.5.3.1. Can a PHP guru give me the correct syntax on where to add this in catalog/controller/information/contact.php?
Sender's IP Address: ".$_SERVER['REMOTE_ADDR'];
hi
edit:
file
catalog/controller/information/contact.php
line 21
$mail->setText(strip_tags(html_entity_decode($this->request->post['enquiry']." ip=".$_SERVER['REMOTE_ADDR'], ENT_QUOTES, 'UTF-8')));
edit:
file
catalog/controller/information/contact.php
line 21
$mail->setText(strip_tags(html_entity_decode($this->request->post['enquiry']." ip=".$_SERVER['REMOTE_ADDR'], ENT_QUOTES, 'UTF-8')));
Extensions Opencart http://quartzstore.com
Telework http://freelance-pro.com
Who is online
Users browsing this forum: Majestic-12 [Bot] and 96 guests