Haven’t done a Neat Tricks and Hacks in awhile. Here’s one to remind DIGG and Stumbleupon users to up your shit.
PHP
<?
$sites[’stumbleupon’] = ‘Glad you stumbled upon us. Please leave us a nice review if you enjoy the site!’;
$sites[’digg.com’] = ‘Glad you found us on Digg. Please Digg up if you like!’;
if( !empty( $_SERVER[’HTTP_REFERER’] ) ) [...]
