Bug Genie strips out HTML formatting in comments. I had a hard time with that as clients who were using this were copy pasting from third party and the formatting was lost. Initially I though that it stripped down HTML during POST and fixing that will fix my future comments. But, after few mins of fondling around I made the “awesome” discovery that, Bug Genie doesn’t convert htmlentities during post, but during printing out. This would mean, all my past comments, which have HTML will work !!
Continue reading »
OK , so you are all excited about running a 10 minute process and you are happy that
you have set the processing as a background process, while the user can surf along your
website / CMS. If you are are using sessions, not quite smarty !
1.download php-mode.el from http://sourceforge.net/projects/php-mode/
2. copy php-mode.el to emacs/lisp/
3.byte compile php-mode.el file to get php-mode.elc file
command: M-x byte-compile-file
4.add following lines to you .emacs file
(require ‘php-mode)
(add-to-list ‘auto-mode-alist ‘(“\\.module$” . php-mode))
(add-to-list ‘auto-mode-alist ‘(“\\.inc$” . php-mode))
(add-to-list ‘auto-mode-alist ‘(“\\.install$” . php-mode))
(add-to-list ‘auto-mode-alist ‘(“\\.engine$” . php-mode))
done! emacs is ready to support php.
try C-c C-f on built in php function
With PHP’s widespread adoption,it’s almost too easy to find a script or snippet to do exactly what you need. Unfortunately, there’s no filter as to what is a “good practice” and what’s, well… not so good when writing a PHP script. We need trustworthy sources, who have proven they have a solid grasp on the best practices of PHP.
We need PHP masters to show us the best principles to follow for high-grade PHP programming.