{EAV_BLOG_VER:cf05756ccfd5297d} The need for this routine comes up every now and then and it confuses people because they thing date(“W”) will do the trick. Once they realize that’s the week of the year, they start to get all elaborate in finding...
PHP records all errors to a file named error_log I needed to look at the status of a project on two servers to see what errors were being thrown. This command line shows the top 20 errors and how often they...
There was a long rant in the wp-testers mailing list today talking about how we weren’t helpful to someone who was getting a “500 Internal Server Error” message after installing WordPress. After complaining about our helpfulness and some bragging about past...
I ran into a situation where I wanted to get the name of the directory I was in, in PHP. To be clear, I didn’t want the full path, just the directory/folder name To be clear, if I was working in...
For various reasons, sometimes the number of comments shown under the title of the post may not match the number of actual comments displayed under the post. Here is a simple SQL statement that will resolve the issue: update `wp_posts` set...
I was just over at the PHPMyAdmin site and saw this quote: Welcome to phpMyAdmin 2.11, which will probably be the last series supporting PHP 4. Notice the “probably” stuck in there. They are testing the waters. If phpMyAdmin is dropping the whole PHP 4 line, it just might push the...
I have a number of sites that on which I want to use the VCL for PHP library components with Delphi for PHP creations. I don’t want to waste uneeded space for a bazillion copies of the VCL. As far as that goes, I don’t want to have...
When I was first fiddling around with the beta test stuff for Delphi for PHP, and before I’d gotten BetaBlogger status, I’d put together a post with what history I’d been able to scrounge about D4PHP from the WayBack Machine and...
OK, I just got back from church and I am stuffed from the three bowls of soup and a huge salad. So, I am feeling lazy, but I still want to get a Delphi for PHP article out (since I have...
I was granted my Delphi for PHP BetaBlogger priveledges back on March 1. I was the first to have that priveledge, but it was done specificaly so that I could have discussions with the WordPress folks at Automattic regarding a possible joint CodeGear/WordPress...