Sometimes you simply have to hide, or in some case fake the referrer from your destination. This article shows you how to fake the referrer using PHP + cURL, as well as how to cloak your referrers from your advertisers.
Category: Programming
WordPress Automatic Update with SSH
If you’re like me, you don’t even want the insecure FTP protocol running on your server, but by default wordpress doesn’t even give you the option of using SSH to automatically upgrade your plugins, or wordpress itself. This article shows how you can add a few extra lines to wp-config.php to enable automatic updates with wordpress.
Handling wildcard subdomains with PHP
Subdomains can be a very handy way to make your urls more friendly looking. They can also be incredibly useful for membership driven websites to allow members to have their own custom subdomain. But how do make manage dynamic subdomains with PHP? This article shows you how.
Nginx and Django
In a previous guide I showed how to use Passenger (aka mod_rails) to work with Python (WSGI) scripts. While this proved effective for simple wsgi applications, a framework such as Django required a bit more love. This guide will walk you through getting Django to work with Nginx and Passenger.
Scraping Google Front Page Results
In this article I’ll show you how you can use cURL and simple_html_dom functionality to scrap the basic content from the front page results of google provided with a search query.
Four free Geolocation Methods
Geolocation or Geo-Targeting is a method of identifying a visitor’s location in the world. You can use this information for anything as simple as greeting a visitor in their native language to automatically redirecting visitors to valid affiliate offers for the visiting demographic. This article takes a look at four different services that offer geolocation for free.
AJAX with JQuery
AJAX stands for Asynchronous Javascript and XML, though most people would associate the term with dynamic loading of content without refreshing the browser. I notice that even today a lot of people starting out with AJAX still use the XMLHttpRequest object from scratch that has been around forever. Learn a faster and easier way with JQuery.
Paypal IPN with PhP
If you’re a freelance coder you most likely have a PayPal account. One of the most useful feature provided by PayPal for anyone looking to automate their ordering process is the Instant Payment Notification. This guide will show you how to utilize IPN with a PayPal ‘Buy Now’ button and PHP. Additional tips to further secure your ordering process are also discussed.