View Full Version : so-you.net referral script


Monkey Bizzle
12-23-2005, 07:12 AM
Does anybody use it? I am having the hardest time trying to install it. I used it before on my old domain and it worked fine. This is the second time I tried to install it on my new domain and once again, it just won't work... A friend of mine tried to use it and also couldn't get it to work...

So I downloaded it and created the databases and all that... I ran the install file and it installed so I know the database aspect is correct... The readme file says:

4) You need to now put the code below on the FIRST page a person is brought to when they go to your website

<?php @include("http://yourdomain/simplerefer/update.php");?>

of course changing the url to where you stored the script. This logs the referrers.

5) Where you want the top referrers list to appear, add the following

<?php @include("http://yourdomain/simplerefer/referrers.php");?>

I did that, and then I went to a site that links to mine and clicked, and the referral didn't show up... So I changed the codes to look like all of these:

<?php include("http://yourdomain/simplerefer/referrers.php");?>
<? include("http://yourdomain/simplerefer/referrers.php");?>
<? include("http://yourdomain/simplerefer/referrers.php")?>

And none of them freaking work!!!! And yes I changed it so it says my domain LOL! I use WP and I put it on my index page, and then my header.php page and it didn't make a difference either way... It's even more frustrating because I used it in the past and it worked fine!!

harmor
12-23-2005, 07:37 AM
It might've been written without registered globals mind.

look and see if there's any code like $_GET['var'] or $_POST['var'] ("var" can be anything)

Monkey Bizzle
12-23-2005, 09:29 AM
It might've been written without registered globals mind.

look and see if there's any code like $_GET['var'] or $_POST['var'] ("var" can be anything)

I searched through all the files and there is nothing like that in any of them...

Monkey Bizzle
12-23-2005, 09:42 AM
I don't get it... I just don't get it... I went back into my old layout files, and got the copy of the script from when it worked on my old domain name... All I did was change the info so it pointed to my new domain and it works fine now... Oh well... Thanks for trying to help anyways =)