Symfony: How to query using Criteria OR

Tuesday, May 13th, 2008

I’m looking for way to do a simple query using criteria OR in symfony framework. The official documentation does not covers the sql query criteria for OR statement. After googling for while, there is some reference from the Propel Guide
To perform a simple SQL query with OR criteria is a bit complicated in symfony or [...]

Install eAccelerator to Optimize PHP performance

Friday, March 23rd, 2007

Server load increase? looking for ways to optimize your php performance? if you have php optimization problem, you should try PHP eAccelerator. PHP eAccelerator is a free open source PHP accelerator, optimizer and dynamic content cache module that specially build to optimize php performance. According to php eaccelerator official site, php accelerator able to speed [...]

PHP Programming: The difference between require() and include()

Sunday, October 1st, 2006

Many friends ask me what’s the difference between require() and include(). Here is the explaination from PHP manual.
From PHP manual:-
require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. In other words, don’t hesitate to use require() if you want a [...]