• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Capture client ip address and host name

Capture client ip address and host name 11 years 1 week ago #27345

  • aioug
  • aioug's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Is there a way to call functions like $_SERVER('REMOTE_ADDR') and gethostname() to capture client ip address and hostnames in the form?

Thanks
The administrator has disabled public write access.

Capture client ip address and host name 11 years 1 week ago #27353

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
RSForm!Pro already stores the IP address by default.

Note that you can also execute PHP code for each field value. Some examples are provided here:

http://www.rsjoomla.com/support/documentation/view-article/77-display-php-variables-by-default-when-form-is-shown.html
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Capture client ip address and host name 11 years 1 week ago #27368

  • aioug
  • aioug's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
If RSForm stores the IP address and client hostname by default where can I find it?

Also if I wanted to store this information in a separate table how could this be done?

can use a 'Hidden field' and store this value part of the validation attribute?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!