Latest in PHP

PHP 5 Multi-Tasking Class

Through these tests, I've determined that PHP Multi-Tasking should be used only as a means to process large data sources, and not to decrease execution time. Testing was done with an external data source containing 539,221 email addresses. The external data source was read into an array and split between the number of sockets. Each socket inserted each email address from it's chunk of data into a table containing an ID and arrKey column. Sockets closed their process as their script execution completed.

Read more of PHP 5 Multi-Tasking Class

PHP Dynamic Text Limiting

A common issue with limiting text is that you get varying results with certain characters being different sizes in width. The concept to this function is to resolve that issue by determining what the limit should be based on the ratio of characters to words. I was rather surprised with how well it turned out, though I'm sure it could use some improvement. One issue is with shorter sentences, I attempted to add a check for such a scenario.

Read more of PHP Dynamic Text Limiting


PHP Server Side CHMOD Directory Contents

Commonly when working with Content Management Systems you'll run into permission issues when attempting to edit a pre-made module or component. One of my co-workers reminded me that you could give yourself the permissions you need by running a chmod on the server through PHP. This code will take the contents of a directory on your server and change the permissions of all the files in it. Use with caution, I am not responsible for any mishaps that you may encounter after using this script.

Read more of PHP Server Side CHMOD Directory Contents


CodeIgniter Open source PHP web application framework

Working on a large project it can be extremely resourceful to use a pre-built framework. Smurphy was talking about CodeIgniter some time ago, and until recently I completely shrugged it off. Big mistake.

Read more of CodeIgniter Open source PHP web application framework


Minify for Remote Files

Minify is a great on-the-fly compressor for JavaScript and CSS files. However, the available code to download requires some adjustments if your JavaScript or CSS files are located on a remote server. I recently had to do this, and feel like sharing.

Read more of Minify for Remote Files


Develop multitasking applications with PHP 5

Lately, it's come to my attention that a lot of clients want their applications to act and look like actual applications found in your standard OS. Well, aside from any graphical issues, programming restrictions, etc. We can now support those multi-threading applications with PHP 5.

Read more of Develop multitasking applications with PHP 5


1 | 2 | 3 | 4 Next Page

Search