Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
I need help creating affiliate links
Old 09-29-2009, 03:42 PM I need help creating affiliate links
Average Talker

Posts: 15
Location: Europe
Trades: 0
I need a little help on creating links for my affiliate program. I want to make it where my affiliates can attach their affiliate ID onto the address bar of my promo webpage, and then have all the tracking links in that page automatically place that affiliate ID from the address bar in those tracking links so the affiliate doesn't have to go in and manually alter the links.

I assume that I have to do this with php... and I'm sure this is probably fairly simple to do, but I don't have any experience with php.
boss2677 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-29-2009, 10:27 PM Re: I need help creating affiliate links
Average Talker

Posts: 15
Location: Europe
Trades: 0
Ok, I think I may have found the code that I need to use.
HTML Code:
<? echo $id; ?>
But for some reason it's not working for me.
boss2677 is offline
Reply With Quote
View Public Profile
 
Old 09-29-2009, 11:15 PM Re: I need help creating affiliate links
Average Talker

Posts: 15
Location: Europe
Trades: 0
The above code does work. Apparently my problem is now a server side issue. It works with my hostgator servers but not with godaddy (why am I not surprised ).
boss2677 is offline
Reply With Quote
View Public Profile
 
Old 09-29-2009, 11:24 PM Re: I need help creating affiliate links
Lashtal's Avatar
wherenomanhasgonebefore

Posts: 679
Name: Lashtal
Trades: 0
you're probably going to have to pay someone to do this for you if you're unfamiliar w/PHP

---

however, in the event that the following makes sense to you...

I imagine what you're going to have to do is append the variable "$id" at the end of the HTML code that you want to assign the unique aff. code for each at.


Example...

Code:
<?php

echo "http://www.yoursite.com/whatever/you/have/here/ " . $id . " ";

?>
__________________
Currently Reading:
Please login or register to view this content. Registration is FREE
Lashtal is offline
Reply With Quote
View Public Profile
 
Old 09-30-2009, 06:20 PM Re: I need help creating affiliate links
Lashtal's Avatar
wherenomanhasgonebefore

Posts: 679
Name: Lashtal
Trades: 0
mind you, you're also going to have to make sure that whatever page you're implementing this on that your $_SESSIONs are being set, or else that unique $id variable that applies to each individual person isn't going to come through.
__________________
Currently Reading:
Please login or register to view this content. Registration is FREE
Lashtal is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to I need help creating affiliate links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14832 seconds with 12 queries