Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM Visitor tracking

date posted 26th January 2001 10:21

Hi Ray,

You can position the little piece of code within any page needed. Depending
on the other information (if any) held within the 'QUERY_STRING' just tack
it on and split as required.

I've personally never used php but i imagine the process is similar to perl
in regard to server variables etc, i'll happily take a look at your php
script if you have problems, and try to offer a helpful suggestion if i can
understand it.

Might be useful to have a look here:
http://www.phpbuilder.com/annotate/message.php3?id=1002690

Cheers

Gary.





-----Original Message-----
From: [EMAIL REMOVED]
[EMAIL REMOVED] Behalf Of Ray McGinty
Sent: Friday, January 26, 2001 9:42 AM
To: [EMAIL REMOVED]
Subject: RE: FN-FORUM Visitor tracking


Hi Gary,

>I've recently implemented something similar, basically every partner is
>assigned a unique id number,
>this id is then incorporated within the URL the partner uses to link to
your
>site. When a user clicks on the URL you can determine where they are coming
>from and store/pass this id anyway you choose and log it along with the
>order details.
>
>I have this script in perl somewhere and would be happy to dig it out for
>you if required, but basically writing it off the top of my head it was
>something like:-
>
[EMAIL REMOVED] = split (/&/, $ENV{'QUERY_STRING'});
>$shop_id = $values[0];
>
[EMAIL REMOVED] /, $ENV{'HTTP_COOKIE'});
>
> foreach $pair [EMAIL REMOVED] { ($name, $value) = split(/=/, $pair);
>$cookie{$name} = $value; }
>
>$session = $cookie{'refer'};
>
>print "Content-type: text/html", "
";
>print "Set-Cookie: refer=$shop_id; path=/", "

";
>
>Not the best example but hope it points you in the right direction.

I'll probably try to put something together similar to this in PHP (cos
thats the only scripting language I know!) Where does your script go? On
the entry page to your site used by the referrer?

TIA

Ray McGinty


=======================================================
Ray McGinty Information Design
specialising in design for the web, e-commerce,
multimedia CD-ROM and print
Tel 0191 237 2816
Fax 0191 237 4774
[EMAIL REMOVED]
www.rmid.co.uk
=======================================================


============================================================

* Free listing for freelancers
* Free to advertise jobs
* Free jobs distribution service
* Free database of 1000 freelancers

Freelancers and Freelance Jobs
http://www.freelancers.net

To post to the Forum:
[EMAIL REMOVED]

To unsubscribe please email:
[EMAIL REMOVED]

If you have difficulties unsubscribing please email:
[EMAIL REMOVED]

To subscribe to the digest for this list or for further information please
visit:
http://www.freelancers.net/forum.html



Messages by Day
January 31st 2001
January 30th 2001
January 29th 2001
January 28th 2001
January 27th 2001
January 26th 2001
January 25th 2001
January 24th 2001
January 23rd 2001
January 22nd 2001
January 21st 2001
January 20th 2001
January 19th 2001
January 18th 2001
January 17th 2001
January 16th 2001
January 15th 2001
January 14th 2001
January 13th 2001
January 12th 2001
January 11th 2001
January 10th 2001
January 9th 2001
January 8th 2001
January 7th 2001
January 6th 2001
January 5th 2001
January 4th 2001
January 3rd 2001
January 2nd 2001
January 1st 2001


Messages by Month
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000