I always find flymake extremely useful when editing code in Emacs. In this period, I’m working a bit with PHP and I’ve immediately thought that enabling flymake for Emacs was indeed a good idea. Well, someone has apparently already thought about it, so everything you need to know about it is explained here. I tried … Continue reading
A couple of weeks ago, I decided to use Gmail as SMTP server to send emails from my Joomla website. Here is explained what I did to make everything working. First of all, I edited my configuration.php file to contain the following settings: var $mailer = ‘SMTP Server’; var $mailfrom = ‘MY_GMAIL_ADDRESS’; var $smtpauth = ’1′; … Continue reading
I’ve just started using Emacs for PHP development and the first thing I wanted to do was to browse the official PHP documentation directly from within Emacs. I know that a couple of existing PHP modes claim to offer documentation browsing, but as far as I’ve seen they merely open a browser and point to … Continue reading
A really simple, still useful tip for php developers. It is possible to execute a php command directly from the command line by doing the following: php -r ‘COMMAND’ For example: php -r ‘echo substr(“hello world”, 6);’ Enjoy!