PHP Script Timer finds the code that's choking you ...
May 17, 2006
Code choking your server's CPU? Site visitors clicking away because your page is taking too long to respond? Do you know?
Some code just plods. Retrieving and parsing remote files, image manipulations, multiple complex SQL queries, etc. grind down your site. Our PHP Script Timer identifies these bottlenecks.
For example, you want to retrieve and parse a remote RSS news feed. Do you use a locally cached file copy if it's current enough? Do you not bother, and just use the remote feed each time? Does it matter? Using our walRuSS.php RSS feed reader gives us the following script execution times:
xml_parser-based RSS feed reader, non-cached: 1.554 secs [ Read more ... ]
xml_parser based feed reader, cached: 0.0444 secs
May 6, 2006
Complete functionality derives from one simple PHP function - htmlentities() - which converts all PHP, HTML and other tags to non-coding, display-only character codes, without parsing. Too easy.
This PHP script is released under the terms of the GNU General Public License, i.e. free for you to use, modify, and even redistribute under the terms of this license. [ Read more ... ]
Image creation and manipulation using the gd Graphics Library
April 1, 2006
The gd Graphics Library is an open source code library use to create and manipulate PNG, JPEG and GIF images. Part of the standard PHP installation, it is available with most MySQL/PHP web hosting packages - if it isn't already available to you, ask for it!
GD is used to dynamically produce charts, graphics, thumbnails, etc., usually by web sites, though it can be incorporated into other programming projects. Create animated GIFs, add FreeType and TrueType text, draw complex graphics, or convert from one image format to another.
GD isn't difficult, but you can't just call a grayscale() function, either. It takes some work. We help you out. [ Read more ... ]