With HTML pages i can use the C code using CGI-C, for eg, i have a C program and i can display the output of this program on .html page using CGI-C whereas i cannot do so in PHP. Correct me if I am wrong at this.
I already have a login.html page where I have saved the login password in an array in a javascript. But this method is not secure, anyone having moderate knowledge can break this password.
I dont want to know if the user has logged or not. I just want only the authorized users to have access to my web pages. Can you help me with that?