Posts Tagged ‘username’

“401 Authorization Required” with PHP

Sunday, June 15th, 2008

Very simple bit of PHP to add to the top of your script if you want to password protect something. I wouldn’t reccommend this for larger bits of software, but if you have a simple script or page that you don’t want people to access, try the following: (more…)