Top

Password Protector

Please Register to submit score.
Average Score  2.0
Scores Submitted  1
Date Added  Feb 17, 2006
Last Updated  Sep 20, 2006
Tags  password  protection 

Introduction

just upload it to the top of the page that you want to protect, this page MUST be saved as .php

and just so no one else pm's me saying they don't know the password or username Code has been updated and change everything that says CHANGEME. ;)

Grab the Code

Comments

  (1)  RSS
Hawkee
Comments: 397
 
PHP Snippet:  Password Protector
Posted on Feb 17, 2006 7:48 pm
As a general rule, you should never assume register_globals is enabled. In which case you need to reference the $_SERVER variables like this: $_SERVER["PHP_AUTH_USER"]

Please Register or Login to start posting comments.
Bottom