Installing a PHP Affiliate Script

Hi everyone,

I purchased an affiliate PHP script so I can start an affiliate program, I am on the last steps of installation which is embedding a few lines of code on my website. The affiliate files are saved in a folder called affiliates, but I need to link to one of those files. If I add the code on my website without linking to it, my website has given me some error message. Here is the code I need to add on my website before any HTML output.

<?php require_once('easy_affiliate.class.php'); $easy_affiliate->startTracking(); ?>

This next piece of code is for the checkout page.

<?php require_once('easy_affiliate.class.php'); // add this line if you havent already included this file $easy_affiliate->markBuy($id_user, $id_order, $price, $is_paid); ?>

Thanks and hope everyone has a wonderful thanksgiving.

Wow, thank you too on the holiday wishes!!! It is nice when they are conveyed!

Now, your problem is a code issue that is linked to a 3rd party code system. We might be able to help you
with this issue, but we need to know the error message that you are getting from the code…

You only showed us some includes of a class file and how you call it. What is the error you are getting?

Hi Ernie,

I was able to fix this issue. Please see my other thread.

Thanks!

Okay, I will mark this one solved… Hmmm, this is why we do not create second threads on same post…

Sorry!

No sorry! We are here to help! Glad you solved it…

Sponsor our Newsletter | Privacy Policy | Terms of Service