Scubaslick - I Lost It! Can Anyone Help?

mystery

Regular Member
Joined
Apr 10, 2007
Messages
335
Reaction score
26
Ok, Scubaslick provided me with this code, as an alternate solution to the main code of the double redirection/ faking referralmethod provided by Genjutsu, to work exclusively with my wordpress blog... check out the thread here:

Code:
http://www.blackhatworld.com/blackhat-seo/black-hat-seo/22634-hide-original-referrer-script-2.html

but I guess there is some sort of an error, as it gives me an unexpected syntax error message. Supposedly, error is in the last line (closure of the code or so).

I'm trying to get this code Genjutsu gave us, work with my blog... but when I'm trying to edit the index.php file of my blog and test everything, the last redirection to the affiliate link (offer page), doesn't take place. You only land on the blog.

I hope Scubaslick's suggested solution works.
 
Try adding a backslash before the next-to last quote.

As it is now:
Code:
"> ";

The forum software won't let me show you so I'll describe it:

Code:
*add a backslash before this quotation mark------>  "> ";

The backslash is the key to the right of the +/= key on my keyboard. It's the opposite of this guy: /

Might fix it. I'm not sure why, but that last quote might be confusing php by saying something to the effect of "this is the end of the command" and needs to be escaped out. If you'll notice, the actual end to the command is the > after the ?. It shouldn't be echoing out onto the screen so something is confusing php near the end of the line.

If that doesn't do the trick, I'll need you to copy and paste the error text and the entire echo command into a txt file and send it to me, or attach it here.

One last thing, I'm not a wordpress designer so I'm not sure what other weirdness it might be doing in the background.

Maybe this will help.
 
Thanks alot! That fixed it...

Only thing left now, is to check out which referrer shows up.
 
Back
Top