Appnitro Software Forums » MachForm 2

REFERER site


  1. hi
    i like to save referer site in my form
    <?PHP echo $_SERVER['HTTP_REFERER'];?>
    how i can use this code
    i can remove ip_address and insert this code
    but where i must to change?
    thanks

    Posted 3 years ago #
  2. redityo

    Hi,

    Do you want to replace ip_address column value with HTTP_REFERE value ? if it's so you should edit "post-functions.php", in line 859 you'll find this code :

    $user_ip_address 	= $_SERVER['REMOTE_ADDR'];

    you can change it with

    $user_ip_address 	= $_SERVER['HTTP_REFERER'];

    However, please note that this would void the "unique ip address" feature.


    MachForm Support

    Posted 3 years ago #

RSS feed for this topic

Reply