Posts

Showing posts from September, 2014

Making MCrypt Work In OSX CLI Terminal Apps

OSX Terminal runs a different version of PHP to Apache by default, so smashing "php blah.php" into the command line can have different results to the same script run via browser. You might notice this if you get an error such as "Call to undefined function mcrypt_decrypt()". Frustrating. Edit your .profile file (or maybe .bash_profile) and add the betterer  php binary folder to your path: export PATH=.:/usr/local/php5/bin:$PATH

How To Get Around Annoying New SMTP Server Requirement In Gmail's "Add another email address that you own"

Image
In their esteemed wisdom, Google have changed the process for adding an alias. It used to be SO SIMPLE: Just click the: then smash your new shiny domain specific e-mail address in. Gmail emailed you to make sure you actually had things at your registrar forwarding mail to you, then when you entered their verification code it was all good. 3 minutes tops. For some reason they are now requiring that email address is ALREADY set-up with an SMTP server etc. BUM. You can get around it though, by filling in gmail itself as your mail send server: Set the SMTP server to smtp.gmail.com Username gmail is your full email address (e.g. spannerboy@gmail.com) Password is your gmail password Port = 465 TLS/SSL required = yes Ta! Don't forget about gmailtable.com - that invaluable complementary gmail tool.