Hello, I'm using a script for returning ebay items for sale (test site) The item links are cgi.ebay...... instead of the usual rover.ebay...... I need someone to confirm that I can use this url and still get credited with commission. The url has the aid and pid. Is anyone else using this cgi.ebay url?
I'm 99% sure it has to go through rover first. If the script is open source, just correct the urls so they go through rover and urlencode the destination as the mpre param of the rover address.
Hello, Is it the cgi.ebay url that has to be urlencoded? I find this very difficult to understand! How do I do this?
Do you mean something like this: http://rover.ebay.com/rover/1/711-1751-2978-331/1?AID=10370388&PID=2145562&mpre=http://cgi.ebay.com.... PHP: etc ?
Is it the cgi.ebay url that has to be urlencoded? Yes, where ever you're sending them to on ebay. I find this very difficult to understand! Ok, the general rover url looks like this: http://rover.ebay.com/rover/1/711-1751-2978-71/1?AID=12345&PID=12345&mpre=http://www.ebay.com Code (markup): Of course use the AID & PID from ebay's affiliate link builder tool thing. Now the mpre part needs to be urlencoded which is cake in php... urlencode($destinationurl); PHP: So you take whatever that urlencode function returns and assign that to the mpre value in the rover url. I'm assuming you understand php and this script is editable.
Ok, I've done it and it's working. I'd appreciate it if you visited the test site I put in the first post, and checked that it's the correct url. Thanks.
It looks like you're doing htmlspecialchars on the rover urls because I'm seeing & where there should be actual ampersands (&).