| Author |
Message |
ewielenga
Joined: 09 Oct 2006 Posts: 25 Rank: 1
|
Posted: 10 Oct 2006 10:41 Post subject: how to make FHGS with ccbill? |
|
|
We're thinking of turning the galleries we've been submitting the last couple month into FHGs. Currently using ccbill for payment proccessor.
Since ccbill doesn't have a tool to make FHGs, we have ot make them ourselves.
I learned ASP a couple years ago, but forgot most of it, but if i remember right, it should be pretty easy to do. I want to do this in php.
basically, what I want to do is have a url like this:
http://www.northwestwetspot.com/gal...FFILIATENUMBER/
the affiliate puts in their own affilate number.
the php script rips that number and inserts it into each of the links.
can anyone help?
thanks |
|
| Back to top |
|
OffMan
Joined: 06 Oct 2006 Posts: 73 Rank: 0
|
Posted: 10 Oct 2006 10:42 Post subject: |
|
|
I belive CC-Bill still offers a free script that does the short url for FHGs.
Login and check, or contact them. |
|
| Back to top |
|
OffMan
Joined: 06 Oct 2006 Posts: 73 Rank: 0
|
Posted: 10 Oct 2006 10:42 Post subject: |
|
|
| OffMan wrote: | I belive CC-Bill still offers a free script that does the short url for FHGs.
Login and check, or contact them. |
i tried looking for that the other day, but couldn't find it. know where it could be?
I've been thinking, that script shouldnt even be that hard. I just don't know any php to do it, but, all I really need to do is.
parse url, rip part of the url, save it into variable.
insert variable into each link.
can someone write it for me;X |
|
| Back to top |
|
JohnLev
Joined: 06 Oct 2006 Posts: 48 Rank: 5
|
Posted: 10 Oct 2006 10:43 Post subject: |
|
|
There is a link in the ccbill panel that says something like "allow redirects".
This lets you change the url in the linking code they supply you with so that you can send surfers to any page on the domain that you choose.
eg.
[]http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=xxxxxx-0000&PA=xxxxxx&HTML=http://www.domain.com/galleries/hotpussy.html[/url] |
|
| Back to top |
|
ewielenga
Joined: 09 Oct 2006 Posts: 25 Rank: 1
|
Posted: 10 Oct 2006 10:43 Post subject: |
|
|
figured it out
<?php
// set up some variables
// the toys
$aff_id = $_GET['affid'];
?>
<html>
<head>
<title>AFF test</title>
</head>
<body>
<a href=" http://refer.ccbill.com/cgi-bin/cli...929592-0000&PA=<? echo $aff_id; ?>&HTML=http://www.northwestwetspot.com/tour.htm">AFFILIATE LINK</a>
</body>
</html> |
|
| Back to top |
|
|
|
|
|
|
|
|
|