HTTP Authentication with PHP

I wonder how to put it to my site ? I don’t allow a strange person visit my admin control panel
please help me, thanks in advance

.htaccess file (do a search on google…)