There are quite a number of people on this forum who do not know PHP so it would maybe be wise to include a help file with that zip.....it is a good code though
If you do chose to make the help file make sure to say that if somebody already has a index file made they should just copy paste what si included inside the index's that come with the zip file to the include section (which is at the top of the php file) of the php file they want to browser protect...
I myself am not that well with php

so thats why I suggest the help file...
Still it is a pretty good idea
thnx
Comment/Reply (w/o sign-up)