Is anyone familiar with this php class??? http://justinvincent.com/ezsql. I am planing to start using it as framework.
I think it is the based of Wordpress class.

I never tried that but it's interesting how, in ez_sql_core.php, he writes cache to disk, he is using error_log(), but as stated in error_log() function page: the maximum length that you can pass as the $message is limited by log_errors_max_len, which is 1024 bytes by default in php.ini. So, if you want to use ezsql you can:

1. increase that limit
2. use igbinary_serialize() & igbinary_unserialize() which occupies less space when serializing a string and is also faster than the current php serialize()/unserialize()

igbinary: http://opensource.dynamoid.com/
error_log: http://php.net/manual/en/function.error-log.php

bye :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.