My PHP blog

Posts in this section.

Announcements [A]

Check contains a string

In PHP, there is not a simple function similar with C#, such as '"michael".contains("mich")'. However, you can use strpos which is to find the position of the…

Read more
Joomla

Price disappeared at Virtuemart

I found the price in all products at my virtuemart are disappeared. I checked all products have price and the template has the price field too. I figured the…

Read more
Joomla

Joomla Form Engine: chrono forms

I like to use chrono forms for building forms in Joomla. That is very powerful, you can have form to email functions and all forms elements, such as text box,…

Read more
Tips for PHP

Tables Function in TinyMCE at Joomla

By default, Joomla is using TinyMCE in advanced mode. Even it calls "Advanced Mode", the functions are very basic, it is without any functions to control table,…

Read more
Tips for PHP

b2evolution Further Performance Tuning

I have upgraded my blog from b2evolution 3.x to 5.0.7. I have experienced a lot of performance issues. I did some performance tuning. Maybe they are useful for…

Read more
Tips for PHP

b2evolution.Widget Cache

I just upgraded my blog to b2evolution.5.0.7. I found it ate a lot of memory. The workaround is enable all levels of caching. Moreover, please do not forget to…

Read more
Tips for PHP

Gantry's CSS LESS compiler Error

I just got a new website built which is a Gantry template. I got some error, e.g. Fatal error: Out of memory. That is from Gantry's CSS LESS compiler. I tried…

Read more
Joomla

Joomla 3.2 - minimum php version

I am just about to build a new website for a client with Joomla 3.2. However, after I checked the requirement of Joomla 3.2, that requires PHP 5.4+. That…

Read more