Hi
I have a booking form in which I would like to add extra hidden fields when visitors link to my site from a link on agent referrer sites. The form is in the secure section and is linked to the home page. HTTPS is called on the booking form template as follows:
<?php global $PREFS; $PREFS->core_ini[‘site_url’] = ‘https://ozexperience.com/’; ?>
Simple question but how do I store the current referrer IP address in a global variable and pass it through to the booking form. At the moment the IP address changes to my IP when I click on the form but I want the original referrer IP address.