PHP: PHP による HTTP 認証 - Manual
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.