+ 2
Webpage protection (html JavaScript)
How to prevent accessing a home page if not logged-in? In html and JavaScript.
12 Respuestas
+ 10
Or NodeJs which is better than php and is in javascript. ^_^
+ 9
Sessions? Cookies? There are many ways to authorize.
+ 9
That's not a backend framework...
+ 8
What backend framework do you use?
+ 5
//hey Lucas Tivana you should start php now for backend
https://stackoverflow.com/questions/11556239/prevent-user-to-access-if-has-not-logged-in
+ 3
Lucas Tivana You should read about backend and handling web pages using backend. PHP and Node.js are popular for this. You can also use database that will save the credentials for logging in. When the login is successful, you can display the homepage using the backend language.
+ 2
rename them to .php
+ 1
Can u please help me with code
+ 1
JavaScript
+ 1
Lool sorry just a beginner.
Example plz:
But
I used html and javascript on my webpage.
+ 1
Ok thanks
0
Thanks i have one problem, my files are in html not php.
What do i do?