Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-01-09, 11:56 AM   #1
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
The issue at that time was whether the link was coded in html (which does work) or done through a redirect script (which of course doesn't work)

If you code the html in the links, most browsers will de-entify prior to sending the request to ccbill, in which case you get credited. There were some strange browser versions that didn't de-entify properly which caused some issue. I would bet that less than 1% of the browsers don't properly handle entities in urls now.

However, if you are coding the link and sending it through a php redirect script,

Code:
<?php
header("Location: http://www.ccbill.com?asdf&amp;pa=1234");
?>
will not get translated properly on ccbill's side. Granted, the link is not in proper form, but, its so prevalent that I think ccbill (and any other affiliate program depending on an & or ? in the url) should properly try to de-entify the url before processing. Almost every traffic trading script will entify the url when it is placed in a database and redirect the surfer via an entified link.

I don't recall the exact syntax, but, you could always wrap the stuff that doesn't validate in CDATA blocks which would allow those urls with & to validate.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2007-01-09, 12:20 PM   #2
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Quote:
Originally Posted by cd34 View Post
Almost every traffic trading script will entify the url when it is placed in a database and redirect the surfer via an entified link.
That's one more reason for sponsors not to use the standard CCBill link structure (or any structure that uses the '&' character in their links).

It's much better* to be able to link to a paysite using something like:

http://www.PaysiteName.com/?r=123456

There's no need to encode anything in that link address. The sponsor just needs some php code on the index page of 'PaysiteName.com' to grab the '123456' and stick it in an UNencoded "refer.ccbill.com/cgi-bin/..." address and send that along to CCBill to get the cookie set. CCBill sends the surfer back to the paysite immediately and it's like nothing special happened at all to the surfer.

The same thing applies on links to HFS and FHG. On those I like the idea of embedding the code somewhere inside the url instead of sticking it on the end, but either way, I think that getting rid of the '&' character in any and all links given to affiliates is something that all sponsors should do.


--
* When I say 'better' I mean from the standpoint of the affiliate webmaster. Obviously it might be financially attractive to a sponsor if some/many of the incoming signups didn't require any commissions to be paid out.
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2007-01-09, 02:30 PM   #3
msanchez
It is better to watch things then to do them
 
Join Date: Sep 2004
Location: The Thumb
Posts: 484
Quote:
Originally Posted by cd34 View Post

However, if you are coding the link and sending it through a php redirect script,

Code:
<?php
header("Location: http://www.ccbill.com?asdf&amp;pa=1234");
?>
will not get translated properly on ccbill's side.
I send alot of my ccbill links right through a php redirect as your example shows and I have never done anything but use the exact ccbill code and I get plenty of sales like that.

Im keen to explore adding the "&amp;" but hesitant because I dont want to break whats working.

Is it possible that some sales would still register with the default code but not as many as would register is using "&amp;" when using a php redirect?

Good thread here, but kinda confusing to a non technophile like myself.
__________________
I buy text links, clicked traffic, blog posts, and more! Hit me with a pm.
msanchez is offline   Reply With Quote
Old 2007-01-09, 03:05 PM   #4
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by msanchez View Post
Is it possible that some sales would still register with the default code but not as many as would register is using "&amp;" when using a php redirect?
With the php redirect, the web browser doesn't have the opportunity to de-entify the URL. It's like copying and pasting a URL right into the address bar. If you are using that linking method, there's no reason to worry about validation of the php redirect. There's no page to validate.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2007-01-10, 08:40 AM   #5
msanchez
It is better to watch things then to do them
 
Join Date: Sep 2004
Location: The Thumb
Posts: 484
Quote:
With the php redirect, the web browser doesn't have the opportunity to de-entify the URL. It's like copying and pasting a URL right into the address bar. If you are using that linking method, there's no reason to worry about validation of the php redirect. There's no page to validate.
Thanks for the clarification UW.
__________________
I buy text links, clicked traffic, blog posts, and more! Hit me with a pm.
msanchez is offline   Reply With Quote
Old 2007-01-10, 11:30 AM   #6
Wanderer
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
 
Wanderer's Avatar
 
Join Date: Mar 2005
Posts: 22
Send a message via Yahoo to Wanderer
Interesting discussion -- how can we validate our code? Should we use the w3.org?
Wanderer is offline   Reply With Quote
Old 2007-01-10, 03:27 PM   #7
tickler
If there is nobody out there, that's a lot of real estate going to waste!
 
tickler's Avatar
 
Join Date: Dec 2003
Posts: 2,177
Quote:
Originally Posted by Useless Warrior View Post
With the php redirect, the web browser doesn't have the opportunity to de-entify the URL. It's like copying and pasting a URL right into the address bar. If you are using that linking method, there's no reason to worry about validation of the php redirect. There's no page to validate.
You have to be careful with a few of the ad scripts though. They have a tendancy to insert the &amp sometimes. When setting things up, it's best to also go look at the source code to check the actual link. I found a PPC advertiser that works OK unless I go do maintenance on the link. The script then pops it to a &amp and I was wondering why the hits weren't counting at ccBill..
__________________
Latina Twins, Solo, NN, Hardcore
Latin Teen Cash
tickler is offline   Reply With Quote
Old 2007-01-10, 04:19 PM   #8
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
Thanks for the tip Simon. I think I'm going to make a few adjustments to the way I do things now.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT -4. The time now is 07:52 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc