Category Archives: PHP

Top 3 PHP Tips & Tricks

      Comments Off on Top 3 PHP Tips & Tricks

Increase PHP allowed execution time With a default install of PHP the scripts have a limited execution time in which they much execute, do their thing, and finish. Quite often particularly in shared hosting environment the default limit just isn’t enough. This is quite often the case if you’re trying to upload large files or process a lot of data at once. If you haven’t already seen it you will… Read more »

Writing Clear PHP Code: Naming Conventions

      Comments Off on Writing Clear PHP Code: Naming Conventions

Writing Clear Code: Naming Conventions One of the best things you can do for the developer who looks at your code after you (even if that happens to be you again) is to use a consistent and predictable naming convention for your classes and methods. PHP itself is littered with inconsistently named functions, making it difficult to remember whether you need to call strlen(), strLen() or str_len(). This is, understandably, annoying… Read more »