Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    small PHP job - can pay via PayPal - tracking incoming hits

    Hi,

    I am happy to pay 4 your time, I am not a programmer but I need this fixed quick with php:

    I need to capture a variable: $referrer

    $referrer = domain.com

    This little tracking code has to sit in <head> and it has to save in the variable what the domain of the referring URL is. Like: the hit came from http://www.domain1.com/index.php, then $referrer = domain1.com

    Then I will call this variable in my gallery template to generate galleries for a site. The idea is that a relative path will be used to fetch different bits of data from other domains on the same server, like so:

    <?php include ('../../../../$referrer/design_elements/background.jpg'); ?>

    So basically the includes of that domain will be used that referred the hit. Keep in mind that this variable might change several times per second as its a busy site, thanks.

    PM me with solution :-) Thanks :-)

  • #2
    New Coder
    Join Date
    May 2009
    Location
    INDIA
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hi,
    Please check your mail and PM.
    Regards

  • #3
    New Coder
    Join Date
    May 2011
    Posts
    62
    Thanks
    2
    Thanked 1 Time in 1 Post
    I am professional developer and able to help you. Please send me your requirements at kashif@webcrest.net with code access. I will do it in a day

  • #4
    New Coder
    Join Date
    Sep 2014
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've did a basic representation of what you are requesting here:

    http://216.224.165.103/referal_tracker.php

    My Skype is jfn_makaveli - feel free to add me if you would like me to implement this into your website. If you do not have this means of contact send me a message.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •