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 morePosts in this section.
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 moreSource:Open Clip Art Using Under Public Domain Attribution The shipment plugins can configured by zip code to make the shipment method only available within a…
Read moreSource:Open Clip Art Using Under Public Domain Attribution I just moved a website to a new server. During the first test, I got an error :call to undefined…
Read moreI 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 moreI 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 moreBy 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 moreI am using Virtuemart 2.6.0. I have no problems to install it. When I tried to add product categories and product, I got this error :vmError: VmTableData Sef…
Read moreI am using PHP more than 10 years now. In the old time, PHP is a very light weighted language. This is just a interpreted language. Nowadays, many new features…
Read moreI 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 moreI 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 moreI 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 moreI 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