Tagged: php

REGEX | A Complete Guide With Examples 1

REGEX | A Complete Guide With Examples

Regexes are a powerful way to do search queries on a text string. They can be used to replace text, sanitize user inputs and much more. Contents Introduction to REGEX REGEX Cheatsheet...

RAM & CPU usage PHP script 3

RAM & CPU usage PHP script

Update April 2020 This single file, server health check, written in PHP. It was getting a lot of downloads so I’ve updated the code and open sourced it on Github. You can...

Passing Through Landing Page Variables

Passing Through Landing Page Variables

This was inspired by another post which is well worth a read at: http://affplaybook.com/blog/affiliate-marketing/the-ultimate-guide-to-landing-page-tricks/ So many traffic sources provide you with tags such as {keyword} {countrycode} {device} etc. You can add these...

Email Bounce Handling

Email Bounce Handling

Here’s some PHP code developed to handle bounced email responses. This will give each response a code to $resno and a category to $rescat. There are 4 categories: Unknown – Hard bounce...

Direct Linking and Retargeting

Direct Linking and Retargeting

Here is how to do it, you’ll still need a server and a domain. Point all your traffic towards a php file i.e. http://www.mydomain.com/trackandforward.php Then place all your retargeting pixels in to...

Automatic backup of MySQL database

Automatic backup of MySQL database

Would you like to have a backup of your critical MySQL database emailed to you automatically? The following script was moified from backup2mail and needs setting up as a cron job, instructions...

First Steps in Automation 6

First Steps in Automation

One of the great things about this industry is the lifestyle flexibility it offers you. The dream is to setup a campaign or website, let it run itself and live off the...