How To Hide Affiliate Link With Javascript

Or “Javascript Obfusticator” with PHP.

Script below will take your affiliate link and obfusticate it.

Just type in the affiliate link that you want obscured, the vendor’s link, click “submit” and the script will return code that you copy and paste into your html page.

The PHP script that generates the hidden affiliate link takes each ascii character of your affiliate link, uses an ascii table lookup to find the corresponding decimal representation and makes the substitution.

Note that not all affiliate programs allow or like this “cookie dropping”, check with your program before using.

Comments on this entry are closed.

Previous post:

Next post: | 522: Connection timed out

Error 522 Ray ID: 4dc5f4aa3e449f15 • 2019-05-25 07:57:28 UTC

Connection timed out








What happened?

The initial connection between Cloudflare's network and the origin web server timed out. As a result, the web page can not be displayed.

What can I do?

If you're a visitor of this website:

Please try again in a few minutes.

If you're the owner of this website:

Contact your hosting provider letting them know your web server is not completing requests. An Error 522 means that the request was able to connect to your web server, but that the request didn't finish. The most likely cause is that something on your server is hogging resources. Additional troubleshooting information here.