This question isn't appropriate for Stack Overflow; it should be closed.
The OP has stated that e has no knowledge about the code e's posted:
Not sure if this script are good too, I take the example from Internet. I want just a simple secure login with sessions, logout and restrict access to some pages. Arrrgh!
This puts the question, as posted, into resource request territory. Given this lack of understanding and description of the problem, it also falls afoul of the MCVE reason, and at least flirts with being "Too broad".
Given all that, the close voter decided to use his dupehammer to a) close the question as quickly as possible and b) point the asker at a resource that just might get em started on understanding one of the major problems with the code.
I find this an entirely appropriate use of the dupehammer, and I think you should too: the asker, as the question stands, is not really helpable within the Q&A format of Stack Overflow. Closure indicates that, but using duplicate closure provides what little help is available.
Unless you believe the question shouldn't be closed at all, I don't think there's anything you need to do here.
A final note: if you see someone constantly using the dupehammer to close questions with completely unrelated targets, that's certainly something that would warrant a moderator flag. If you see it happen one or two times, here or there, just comment and ask the closer to explain. I've made at least one mistake with my duplicate closure, and re-opened when it was pointed out to me.