I really don’t have a shorter description for this. I was working on a personal project the other day and realized that this might be a nifty function. Basically, you know all those snippets to make cropped thumbnails (squares and the like), and how most of them either center or crop to the top of [...]
You can do quite a bit of unorthodox stuff with PHP. If you head over to epbsoft.com, you’ll find several flash coloring sheets I made with PHP, not Flash. (Sort of anyway.) I make them by first creating specially formatted SVG (Scalable Vector Graphics) files and feeding them to a PHP script that writes ActionScript [...]
I might take a look at installing MongoDB on my server. I like the idea of a document-driven, NoSQL database, especially after working with relational SQL databases for years, and MongoDB looks interesting. You can read more about it in Developing scalable PHP Applications using Mongo DB. What caught my interest is how flexible using [...]
I am exceedingly lazy, so I made a one-liner random password generator. How it works: Creates an md5 from a random string, packs this into binary representation, base64 encodes that, strips some of the characters used by base64 (most importantly the = that are typically at the end), and then limits it to 8 characters. [...]
Hmm… well it’s not crashing outright according to GDB, so I can only imagine it’s encountering a fatal error along the installation process. Update: It’s dying on the line that reads $install->load(); However, it doesn’t toss an error when it does so. Interesting. It does not crash there, however, if I modify it to be [...]
I went ahead and decided to try installing phpBB 3 on PHP 5.3.0RC2 running CGI. The initial build of PHP 5.3.0RC2 went incredibly smoothly, and only a handful of tests failed when I ran `make test.` Got it installed in my web server’s chroot environment and phpinfo runs fine. (After accidentally configuring CGI to use [...]