August 31 2010 by
Cody Snider in
PHP |
In part 1 of this series, we discussed how to track email views using an image. In part 2, we setup the tables and functions necessary to record the emails. Before we start building the reporting and campaign tracking mechanisms for step 3, we will need to adjust the code so it will be more [...]
August 21 2010 by
Cody Snider in
PHP |
In a previous post, we discussed how to track the viewing of an email using a 1x1px image, PHP and htaccess. Now we’ll see how to generate the ID that is associated with the email and update a database to record the action. First, we’ll need a table to record the information. The following are [...]
July 24 2010 by
Cody Snider in
PHP |
It’s a little rude to ask someone to confirm they read an email, isn’t it? Well, there’s a way to get a confirmation without them knowing it using PHP and htaccess. First, create a directory in your images folder called ‘email’ (/images/email/ for this tutorial). Inside that folder, create an .htaccess file. Be sure that [...]
July 21 2010 by
Cody Snider in
Servers |
Under an out-of-the-box installation of CentOS, many services are running that are non-essential for a LAMP stack to run effectively. Running the following (either individually or as a script) will remove these services from the boot. Original post from VPS.net View Code BASH#Shut down non essential services: # 1. sendmail # Purpose: sending mail, [...]
July 3 2010 by
Cody Snider in
Servers |
Symbolic links (symlinks) are an extremely useful tool to every system admin and web application developer. They work a lot like a shortcut in Windows. Let’s say you were working with a web application that used a framework that held all Javascript, CSS and image files in a tucked-away location (for the sake of this [...]
June 24 2010 by
Cody Snider in
SEO |
Visit SERPSight.com for the pre-beta tests. Free automated search engine result page tracking credits for the testers (this is open to anyone). Bonus credits for anyone who can find and report an exploit in the system.
In need of an IP address on-the-fly that appears to be valid? Try this: View Code PYTHONfrom random import randrange def generateIP(): blockOne = randrange(0, 255, 1) blockTwo = randrange(0, 255, 1) blockThree = randrange(0, 255, 1) blockFour = randrange(0, 255, 1) print ‘Random IP: ‘ + str(blockOne) + ‘.’ + str(blockTwo) + ‘.’ [...]
March 30 2010 by
Cody Snider in
SEO |
Normally, simple KEI is created using the following formula where P is popularity and C is competition: KEI = P2/C This will get you in trouble. Not all competitors are the same and looking at just the number of indexed sites using an allintitle operator does not take this into account. For example, a football [...]
March 5 2010 by
Cody Snider in
Rants,
SEO |
Google and the other big players in search all hate SEO. This is completely understandable (coming from the Director of Search Engine Optimization at a large web development firm). SEO is riddled with bad advice, grey areas and misinformation to the engines. The problem is not the profession, it’s the approach. Let’s step into the [...]
August 14 2009 by
Cody Snider in
Servers |
On a base server install for Centos 5.2, yum-updatesd is included and it seems like a fairly good idea to keep that running (keeps you updated). Not so and it’s safe to disable this (kill the process and disable it from starting up in the first place. Here’s the process, I noticed an immediate speed [...]