3 BEGIN { $ENV{DISPLAY} = '192.168.32.15:0.0' }
6 use lib "$FindBin::Bin/modules";
11 use BSE::UI::Affiliate;
13 $SIG{__DIE__} = sub { confess $@ };
15 my $req = BSE::Request->new;
16 my $result = BSE::UI::Affiliate->dispatch($req);
17 BSE::Template->output_result($req, $result);
22 affiliate.pl - set the affiliate code for new orders or display a user info page
26 # display a user's information or affiliate page
27 http://your.site.com/cgi-bin/affiliate.pl?id=I<number>
29 # set the stored affiliate code and refresh to the top of the site
30 http://your.site.com/cgi-bin/affiliate.pl?a_set=1&id=I<code>
34 This is implemented by L<BSE::UI::Affiliate>, please see that for
35 complete documentation.
39 Tony Cook <tony@develop-help.com>