Hi,
To prevent link-jacking if my site gets scraped, I've started base64 encoding my links then running them through an outbound-links.php script which decodes them and sends it off to the correct affiliate link.
a) Do you see anything wrong with this apart from a long query string?
b) Or would I be better off mapping them to a database with a smaller id TinyURL style? (though as most links are dynamically generated this could fill up the database quickly)
c) Or would I be better mapping the link to a $_SESSION and sending that through the outbound page ?
Cheers,
Niggles
To prevent link-jacking if my site gets scraped, I've started base64 encoding my links then running them through an outbound-links.php script which decodes them and sends it off to the correct affiliate link.
a) Do you see anything wrong with this apart from a long query string?
b) Or would I be better off mapping them to a database with a smaller id TinyURL style? (though as most links are dynamically generated this could fill up the database quickly)
c) Or would I be better mapping the link to a $_SESSION and sending that through the outbound page ?
Cheers,
Niggles