Re: [PHP] Affiliate system

2006-09-15 Thread Richard Lynch
On Wed, September 13, 2006 12:58 am, Peter Lauri wrote: What should I do if they do not allow cookies? I could amend a=1234 onto every url that they pass, but that would not be a beautiful solution. PHP's use transsid setting in php.ini does exactly that, only with the session ID, and you

Re: [PHP] Affiliate system

2006-09-13 Thread Robert Cummings
On Wed, 2006-09-13 at 12:58 +0700, Peter Lauri wrote: Hi guys, I am reviewing an affiliate system that I created a while ago. I am using a very simple method to do this, but I am curious if there is any better system (better I mean less missed affiliate purchases). 1. User click on

Re: [PHP] Affiliate system

2006-09-13 Thread J R
use session. or you can store it in a database but that will take speed. :) using session is much better rather than using cookies for lots of reason (just google) specially if you are concered with security. just my 2cents. hth, john p.s. if the client cookies is disabled set to true the

Re: [PHP] Affiliate system

2006-09-13 Thread Andrei
I ran into same issue with a site... I solved this problem by saving information in 2 places (in cookies and in database). So when saving data once I saved in the cookie then into database. When I wanted to read the information I first check if cookie exist and if it doesn't I read from

RE: [PHP] Affiliate system

2006-09-13 Thread Peter Lauri
That is probably what I will do. Thanks for your comment. -Original Message- From: Andrei [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 2:43 PM To: [php] PHP General List Subject: Re: [PHP] Affiliate system I ran into same issue with a site... I solved

[PHP] Affiliate system

2006-09-12 Thread Peter Lauri
Hi guys, I am reviewing an affiliate system that I created a while ago. I am using a very simple method to do this, but I am curious if there is any better system (better I mean less missed affiliate purchases). 1. User click on affiliate link http://thedomain.com/?a=1234 2. The if $_GET['a'] is