I've coded it all up to sending the email, but the way the script that I'm modifying is coded is confusing me - as I've only just started learning. Need this done in the next couple of hours - simply the activate.php that needs doing. Please PM me for MSN/GTalk. Thanks.