Quantcast
Channel: PHP – The Code Cave
Browsing all 9 articles
Browse latest View live

PHPMyAdmin announces drop of PHP 4 support.

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...

View Article



WordPress Quick Tip: Fixing the number of comments per post

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...

View Article

How do you get the current directory name in PHP?

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 the...

View Article

What is CGI and What is FastCGI?

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...

View Article

HOW TO: Take a quick glance at errors from a project.

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...

View Article


Find what week of the month a date is in PHP

{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...

View Article

What is CGI and What is FastCGI?

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...

View Article

HOW TO: Take a quick glance at errors from a project.

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...

View Article


Find what week of the month a date is in PHP

{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...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images