301 Page Redirects using PHP and .htaccess

Monday, June 4th, 2007

During the life of a website, its quite common for pages to move around or to ‘re-structure’ your site’s files and folders. However, you can come across issues when people linking to your page go to their ’stale’ bookmark of your site, and find that page is missing – in fact, they’ll get a ‘404 Page Not Found‘. The same will go for search engines like google and yahoo, and will adversely affect your rankings within their results.

(more…)

Email Header Injection in PHP

Monday, June 4th, 2007

It has become apparent that spammers are getting even smarter than we take them for. Rather than abuse open relays, which are almost non-existent, these scum-of-the-earth ‘traders’ are now abusing contact forms.

(more…)

PHP Email Contact form with Captcha

Wednesday, May 30th, 2007

PHP Contact form with image verification.

(more…)

PHPMailer

Wednesday, May 30th, 2007

PHP Email Class:

Email form & class with image verification (antispambot protection).

(more…)

PHP Error Reporting on vhosts

Saturday, May 12th, 2007

You can enable or disable php error reportin in any vhost just by using this: php_flag display_errors on

(more…)